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
Unable to map ports with podman 3.4.0 #11
Comments
Hi @monken, Currently, podman's OCI networking doesn't play nice with libkrun's TSI (Transparent Socket Impersonation). The workaround is using
|
@slp, thank you so much for your response. I really appreciate your support. I tried this before but the port mapping was ignored. I ended up being able to access the nginx server on port 80 but not on the mapped port 8080. |
The problem here is that we're dealing with double mapping, first by
Then, after starting |
Perfect, that works. Would be nice to have native port mapping though to support running multiple containers that expose the same port. |
Hi,
I've been exploring krunvm to run a podman service that I will use from my M1 MacBook. I've been able to get it to work, except that port mappings are being ignore. Here are the steps to reproduce it:
krunvm create docker.io/library/fedora:latest
podman run -ti --rm -p 8080:80 nginx
on the fedora hostPort mappings have been discarded as one of the Host, Container, Pod, and None network modes are in use
podman run -ti --rm --net podman -p 8080:80 nginx
) I get:Any help is greatly appreciated!
cat /etc/cni/net.d/87-podman.conflist
cat /etc/containers/containers.conf
The text was updated successfully, but these errors were encountered: