5 ms·
> That could fix the barrier of entry and make docker tutorials passed around more canonical. I would love it if docker "just worked" across machines when testi
by feanaro 7y ago
> That could fix the barrier of entry and make docker tutorials passed around more canonical. I would love it if docker "just worked" across machines when testing locally, commands and all.
For an almost drop-in daemonless, rootless docker replacement for this use case, see podman (https://podman.io/ https://podman.io/). You can `alias podman=docker` and it will just work.
You do need a bit of configuration, specifically you need to create `/etc/subuid` and `/etc/subgid` if they don't exist and add subordinate UIDs/GIDs which will be used to map the containers users and groups. E.g.
usermod --add-subuids 100000-165536 $USER
usermod --add-subgids 100000-165536 $USER
- aorth 7y ago> You can `alias podman=docker` and it will just work. Yes, and it's super awesome. Unless you need docker-compose!
- deleted 7y ago[deleted]
- thinkmassive 7y agoPodman supports pods, hence the name. It follows the k8s approach, and it’s nowhere close to a drop-in replacement for docker-compose, but managing multiple related containers is supported as a core feature. https://developers.redhat.com/blog/2019/01/15/podman-managing-containers-pods/ https://developers.redhat.com/blog/2019/01/15/podman-managin...
- thenewnewguy 7y ago> Unless you need docker-compose! There's a solution for that :) (Note: still somewhat beta quality) https://github.com/containers/podman-compose https://github.com/containers/podman-compose
- ghevshoo 7y agoMaybe podman “just works” on Linux but it still has some work to be done before the same could be said for macOS. E.g. https://github.com/containers/libpod/issues/4039#issuecomment-566094827 https://github.com/containers/libpod/issues/4039#issuecommen...
- jchw 7y agoUltimately Docker on macOS is just Docker on Linux in a VM over TCP (and it’s not open source.) To be less nebulous: regarding the problem of being “rootless,” macOS support is neither here nor there. As far as I can tell it doesn’t really matter since the containers are already in a VM anyways.