Re:BuildKit in depth: Docker's build engine explained
by nicce on Tuesday February 06, 2024 @08:02PM
(#39283151)
Only reason I have used buildx is the easy multi-arch for the same tag (big manifest). How to do this with Podman/buildah?
The mount/volume issues are probably caused by SELinux / other security decisions
- There's no docker.sock API socket by default, which makes sense because Podman doesn't have Docker's daemon-based architecture. You can run one with `podman system service [...]` if you have non-CLI clients expecting to connect to some $DOCKER_HOST
- Mounts/volumes behave subtly differently IIRC, I had a bunch of scripts that didn't work with podman-as-docker out of the box, I think the issue was that Docker will create some directories automatically that Podman won't?
Aside from that, rootless Podman is great and I've had far fewer issues with it than I did for rootless Docker, only real caveat is that -p <some port> doesn't actually connect to the host, it's still namespaced. You have to use --net=host for actual host networking.