4 ms·
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
by leoqa 2y 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).
- jmholla 2y agoI may be wrong, but I think BuildKit gives Docker that functionality.
- nine_k 2y agoI'd bind-mount the tree into the context. (I assume Docker won't follow simple symlinks.)
- taspeotis 2y agohttps://docs.docker.com/reference/dockerfile/#run---mount https://docs.docker.com/reference/dockerfile/#run---mount