-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 exec fails #2968
Comments
Where did you get the software for this? Do you have an up 2 date version of runc. |
I followed the Ubuntu instructions here
|
Info seems to be segfaulting on trying to dereference |
@panzerdev Can you try those commands as root, and see if they work? |
If I run Have I overlooked the instruction to run it as root or so? |
No, this sounds like a bug, but one specific to our rootless code - we need to do more work to get Podman running without root (setting up a user namespace so we can gain limited versions of certain capabilities), and some piece of that seems to be breaking. |
@panzerdev is this working for you now? @giuseppe ptal if not |
@baude I am running
and it is sadly still the same issue. Do I need to change something about my installation? |
Does If it doesn't, that still tells us something |
if you have no problems to run the container, could you run a process inside of it. And from the host do a You could for example do:
|
That's the result
That's the result of Before:
|
could you please attach the output of |
Of course @giuseppe
|
thanks. Something strange is happening here, I see "Not configuring container store" it seems it is trying to use |
on old kernels the ioctl NS_GET_PARENT is not available. Handle the error code and immediately return the same fd. It should be fine now that we use the namespace resolution using the conmon pid, so the namespace parent resolution is just a safety measure. Closes: containers#2968 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
I see the issue, I've opened a PR here: #3271 |
BUG REPORT
/kind bug
Can't exec command in running container
After starting a container I can't use
exec
to execute a command int the container.Steps to reproduce the issue:
podman run --name ubuntu -it registry.hub.docker.com/library/ubuntu bash
Open new terminal window/tab
podman exec -it ubuntu bash
Describe the results you received:
Describe the results you expected:
A bash promt inside the container
Additional information you deem important (e.g. issue happens only occasionally):
Happens always
Output of
podman version
:Output of
podman info --debug
:Additional environment details (AWS, VirtualBox, physical, etc.):
Ubuntu 16.04 installen on a MacBook Pro 15 without any virutalization.
The text was updated successfully, but these errors were encountered: