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

[Question] Is there a way to provide podman --net / --network options? #283

Closed
aanno opened this issue Mar 6, 2021 · 2 comments
Closed

Comments

@aanno
Copy link
Contributor

aanno commented Mar 6, 2021

Is there a way to provide podman --net / --network options?

I would like the have an podman-compose equivalent of

podman run --net slirp4netns:allow_host_loopback=true,enable_ipv6=true --env HTTP_PORT=8081 --env HTTPS_PORT=8082 -p 8081:8081 -p 8082:8082 -d praqma/network-multitool

But the --net slirp4netns:allow_host_loopback=true,enable_ipv6=true part is delicate. Is there a way to archive this? What about other podman-specific options?

Kind regards,

aanno

@muayyad-alsadi
Copy link
Collaborator

try latest devel branch with

podman-compose -t identity --podman-run-args='--net slirp4netns:allow_host_loopback=true,enable_ipv6=true' up

@aanno
Copy link
Contributor Author

aanno commented Aug 4, 2021

Thank you for making this possible! At present I use it for circumventing the problem that podman-compose does not support external networks.

@aanno aanno closed this as completed Aug 4, 2021
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

2 participants