Skip to content
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

API v2 and docker-compose compatibility (Question) #7080

Closed
ziXet opened this issue Jul 24, 2020 · 5 comments
Closed

API v2 and docker-compose compatibility (Question) #7080

ziXet opened this issue Jul 24, 2020 · 5 comments
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. Question Issue is a question about Podman stale-issue

Comments

@ziXet
Copy link

ziXet commented Jul 24, 2020

Can we assume that podman v2.x.x (with new API) will eventually could work with docker-compose?

PS. I know there is a podman-compose project. But, it's not prod ready yet.

Thanks

@rhatdan
Copy link
Member

rhatdan commented Jul 25, 2020

Yes, we will work with people having compose issues, as long as those compose scripts do not use features that Podman does not support like Docker swarm.

One area of concern is around Docker networking, which is quite a bit different then Podman networking.

One last caveat is that the Podman Core developers have little experience with Compose, so we will probably be asking for easy reproducers of issues with the way we are supporting the Docker API.

@rhatdan
Copy link
Member

rhatdan commented Jul 25, 2020

We also feel(hope) that community will be very helpful in this area.

@ziXet
Copy link
Author

ziXet commented Jul 26, 2020

Thanks Dan! I think the networking issue is the main challenge for running a simple docker-compose config.
docker has a command for creating network but Podman does networking via pods.

Perhaps if podman wants to be compatible with docker-compose and be a drop-in replacement for Docker, it needs to somehow mimic the concept of docker networking via its API.

@mheon
Copy link
Member

mheon commented Jul 26, 2020

We can provide networking very similar as root, but our network commands and API are not a perfect match right now due to our use of CNI. I am going to tackle improving this at some point in the next few months.

As rootless, we do not have the necessary privileges, so it is not possible to create networks at present.

@mheon mheon added the Question Issue is a question about Podman label Aug 7, 2020
@github-actions
Copy link

github-actions bot commented Sep 7, 2020

A friendly reminder that this issue had no activity for 30 days.

@rhatdan rhatdan closed this as completed Oct 7, 2020
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 22, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. Question Issue is a question about Podman stale-issue
Projects
None yet
Development

No branches or pull requests

3 participants