Hacker News new | ask | show | jobs
by leoqa 643 days ago
Orthogonal rant: Podman allows host mounts during image build, whereas docker does not. Ran into a big headache where a monorepo using podman leveraged this to create container images from source and the equivalent docker implementation had to copy the monorepo into the docker build context every time.

We needed to use Docker for M1 support (probably should've tried Colima, etc).

3 comments

I may be wrong, but I think BuildKit gives Docker that functionality.
I'd bind-mount the tree into the context. (I assume Docker won't follow simple symlinks.)