docker exec can not exit when run with pid namespace #45120
Labels
kind/bug
Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
status/0-triage
version/20.10
Description
1.docker run a new container with pidnamespace
2.docker exec this container
3.docker rm -f this container
finally,docker exec is not exit,example like this:
result is that docker exec is not exit,but when we do not specify “--pid” parameters to run container,exec process exit successfully
Reproduce
1.docker run -itd --pid=host busybox sh
2.docker exec -it 368ca7afbf63920b48fe200a3e41231c6411f728a9492e9c8df1c50413738303 sh
3.docker rm -f 368ca7afbf63920b48fe200a3e41231c6411f728a9492e9c8df1c50413738303
Expected behavior
No response
docker version
docker info
Additional Info
No response
The text was updated successfully, but these errors were encountered: