Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
Running unprivileged (rootless) container on
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Additional environment details (AWS, VirtualBox, physical, etc.):
Yeah, you need a 0.3.0 or later release to have port-forwarding support. The project lives at https://github.com/rootless-containers/slirp4netns and should be easy enough to build/install, though you might want to ping the package maintainers for Arch (assuming that you're using the official packages) and ask them to update.
Ok. Just browsed by the
I am currently trying to write a tutorial on how to deploy certain network services easily using containers. The platform for the basis is Ubuntu 18.04 LTS. I wanted to try first Docker using the Snap packages but it is not mature enough, so it makes for over complicated setup and I miss the goal of "teaching how to deploy network services".
So I went to Podman. Installation was a bliss and the
However, when trying the next level of "hello world" it failed. I simply tried the following:
$ podman run --detach --name nginx -p 8080:80 docker.io/nginx:stable Trying to pull docker.io/nginx:stable...Getting image source signatures Copying blob 8ca774778e85 done Copying blob 0f23e58bd0b7 done Copying blob 27833a3ba0a5 done Copying config 295c7be079 done Writing manifest to image destination Storing signatures Error: slirp4netns failed
And as I understand the above thread, this is simply because I have the wrong version of slirp4netns. When I installed
Could you upgrade the version available in the PPA for Ubuntu?
PS: of course I could install the package from source, but again like for Snap, it is getting me away from my main goal and make the installation more complex. However, I was impress by the rest of podman, and this is a small fix (uploading the new release of a package) as I understand it. So I hope this could be fixed soon.
PS2: perhaps a tutorial could be written about how networking works with Podman. A simple example like I was trying above to start with and then more advanced configurations. From the man page, I can see that there is also bridge and other networking. But nothing is currently explained how to use those options. I obviously tried to run using
I cannot help with the
I'm a bit new to podman, but working through some basics, I'm running into:
Then I get the error trying to run
I'm not sure how to troubleshoot this. Maybe the container is not properly setup for ubuntu 18.04 and I should build my own with buildah? That's what I'll try next, but would love any tips if someone has some insight.