-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Support for rootless docker-compose #11
Comments
Interesting! I haven't played around with that yet. UPDATE: Actually rootless podman doesn't use CNI plugins at all but slirp4netns directly last time I looked. |
I have a pretty special setup: docker running a privileged centos:7 container running rootless podman. In this case cni plugins firewall and tuning are needed, which were removed in dc8ec32, to make this basic traefik example work.
|
@MarkusSchoelzel Unfortunately I didn't find the time to play around with it but read about it a bit. So apparently podman-compose is a docker-compose implementation optimized for rootless podman but since version 3 podman also works with the classic docker-compose implementation that was written for docker. Since I would like to keep the contents of each podman image provided by this repository minimal I don't think docker-compose (any of the two) should be added to one of the existing images. |
On second thought I realize you actually want to install compose on a host and therefore it would be helpful to have the required plugins shipped with the tar, right? To just make the tar release docker-compose compatible it might indeed make sense to just add the missing plugins to the main image this repo ships and from which the tar is built. |
Having now tried your example as well I can see the logs of
So apparently podman generates a CNI configuration itself that includes those plugins upon receiving a call from docker-compose to create the network. In that case I agree it makes sense to add those two plugins here. However when doing so a docker-compose test script should be added to |
Thanks for your effort and for thinking about adding the missing plugins! You are right, my primary concern is just about adding the plugins (as in MarkusSchoelzel@5706153) and don't see a need to add docker-compose (and its python dependencies) to this project. I've started adding some basic tests, but wasn't able to run them successfully, yet.
So MarkusSchoelzel@2f76d3d is still wip while I won't be able to work on it in the next couple of weeks. |
General question:
Is rootless docker-compose a feature, which should be included in these binaries/container images?
With containers/podman#9169 there is (not yet complete) support for running docker-compose with rootless podman, but podman-static is missing some CNI plugins to make it work.
The problably needed plugins were removed in dc8ec32.
The text was updated successfully, but these errors were encountered: