docker is unable to remove the container after interrupting docker logs command
Issue
- Unable to remove container after interrupting
docker logscommand. - If you
CTRL-C/stopthedocker logs <container_name>commands before it completes, then subsequent docker logs on the same container hangs. - After stopping
docker logs <container>command withCTRL-C, the container will hang. The same container will be un-deletable and will be still in hung state.
Environment
- Red Hat Enterprise Linux 7.4
- docker-latest-1.13.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.