Cannot join the uts namespace of a running container #5289
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
A container is unable to join the uts namespace of another running container.
Steps to reproduce the issue:
podman run --rm -it --name uts_1 centos:8
podman run --rm -it --name uts_2 --network container:uts_1 --uts container:uts_1 centos:8
Describe the results you received:
Error: unable to retrieve hostname from dependency container uts_1: container uts_1 not found in DB: no such container
Describe the results you expected:
Container uts_2 has joined the network/uts namespace of container uts_1
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: