1

I feel like I am missing something fundamental to lower-level utilities like bash or echo.

I have a docker image (ImageA) that is missing a shell utility so it is nearly un-interactable and I need more flexibility from it. Let's assume I cannot recreate the image.

I know it is a Debian-bullseye distro and I assumed that I could just copy the bash binary from another basic Debian image (ImageB) using Docker multi-stage builds.

I've confirmed it exists in the /bin/ folder of ImageA but any attempts to execute it (or any utility for that matter) does not work with errors like: /bin/bash: no such file or directory.

Has anyone done anything like this and/or is this idea fundamentally flawed?

Sam Yi
  • 11

0 Answers0