You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run two containers, both with --ipc=host and --pid=host. With this combination I am not able to see the shared memories from container A in container B. When I remove --pid=host it is working.
Startup container A with podman run -it --ipc=host --pid=host --rm /bin/bash
Startup shm_server in container and check it with ipcs -m
Startup the second container with podman run -it --ipc=host --pid=host --rm /bin/bash and check the same with ipcs -m (cannot see the shared memory created in container A)
Startup the second container again with podman run -it --ipc=host --rm /bin/bash and check ipcs -m --> does work
Describe the results you received:
When both namespaces are set to "host" I cannot see the generated shared memories.
Describe the results you expected:
To see the shared memory of container A in container B.
Additional information you deem important (e.g. issue happens only occasionally):
Output of podman version:
Version: 2.0.3
API Version: 1
Go Version: go1.14.2
Built: Thu Jan 1 01:00:00 1970
OS/Arch: linux/amd64
Description
I am trying to run two containers, both with --ipc=host and --pid=host. With this combination I am not able to see the shared memories from container A in container B. When I remove --pid=host it is working.
Steps to reproduce the issue:
Create a container which creates a shared memory (shm_server from https://www.cs.cf.ac.uk/Dave/C/node27.html)
Startup container A with podman run -it --ipc=host --pid=host --rm /bin/bash
Startup shm_server in container and check it with ipcs -m
Startup the second container with podman run -it --ipc=host --pid=host --rm /bin/bash and check the same with ipcs -m (cannot see the shared memory created in container A)
Startup the second container again with podman run -it --ipc=host --rm /bin/bash and check ipcs -m --> does work
Describe the results you received:
When both namespaces are set to "host" I cannot see the generated shared memories.
Describe the results you expected:
To see the shared memory of container A in container B.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:**Additional environment details (AWS, VirtualBox, physical, etc.):Ubuntu 20.04 in VirtualBox
The text was updated successfully, but these errors were encountered: