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

podman-compose fails with creating pod on first step #346

Closed
jezkerwin opened this issue Oct 16, 2021 · 5 comments
Closed

podman-compose fails with creating pod on first step #346

jezkerwin opened this issue Oct 16, 2021 · 5 comments

Comments

@jezkerwin
Copy link

Podman version : 3.2.3
podman-compose version : 0.1.7dev
Linux : RHEL 8.4

When attempting to execute podman-compose over a docker-compose.yml file, the command to create the pod fails with the following error below.

The starting of the containers then fails because it can't find the pod.

[vagrant@rhel8 vectr]$ podman-compose up
['podman', '--version', '']
using podman version: podman version 3.2.3
podman pod create --name=vectr --infra-name=vectr_infra --share net -p 8081:8443
Error: unknown flag: --infra-name
125
@muayyad-alsadi
Copy link
Collaborator

muayyad-alsadi commented Oct 16, 2021 via email

@syedahaider97
Copy link

I've assumed that all podman support that flag. For now try the equivalent cntnet mapping

Sorry, how do we go about doing that?

@jezkerwin
Copy link
Author

I've assumed that all podman support that flag. For now try the equivalent cntnet mapping

Sorry, I'm not sure what you mean by this

@muayyad-alsadi
Copy link
Collaborator

podman-compose -t 'cntnet'

details here

https://github.com/containers/podman-compose/blob/devel/docs/Mappings.md

@muayyad-alsadi
Copy link
Collaborator

fixed by this

f2aeaba

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants