HomeClusterLabs Projects

podman: make sure to remove containers with lingering exec sessions

Description

podman: make sure to remove containers with lingering exec sessions

It may happen that some "podman exec" commands don't finish
cleanly and leave lingering "Exec sessions" in the container's
state. In that case, a "podman rm" command will always fail.

To overcome the podman bug, issue a "podman rm -f" command when
we detect a container is stopped but still has some lingering
"Exec sessions" associated with it.

Related-Bug: rhbz#1839721

Details

Provenance
Damien Ciabrini <dciabrin@redhat.com>Authored on May 29 2020, 5:57 AM
oalbrigtCommitted on May 29 2020, 9:00 AM
Parents
rR82271ae45643: Merge pull request #1502 from oalbrigt/tomcat-only-create-directory-during…
Branches
Unknown
Tags
Unknown

Event Timeline