News for hackers. Stuff that matters.
Re:Docker-slim: Minify your Docker container image without c... by zapita on Tuesday December 10, 2019 @08:42PM (#21758772)
Which version of bash would you expect to run in this example?

(1) If it's the bash version from the standard ubuntu image, you will need to specify where to mount your application's filesystem inside the ubuntu filesystem.

(2) If it's the bash version from your application, then it's the other way around: you will need to specify where to mount the ubuntu filesystem inside your container.

Option (1) seems more practical. My point is that you will need to specify a mountpoint either way, and your commands will need to take this mountpoint into account.

Re:Docker-slim: Minify your Docker container image without c... by londons_explore on Wednesday December 11, 2019 @02:35AM (#21760404)
Mount both filesystems at the same place as an overlay - if a file exists in both, I don't care which I see.
Re:Docker-slim: Minify your Docker container image without c... by zapita on Wednesday December 11, 2019 @11:33AM (#21764060)
I see. That will work as long as your app is built on the same distro as your tools image (in your case, ubuntu).