mirror of
https://github.com/containers/podman.git
synced 2025-10-24 15:03:45 +08:00
Add podman container cleanup to CLI
When we run containers in detach mode, nothing cleans up the network stack or the mount points. This patch will tell conmon to execute the cleanup code when the container exits. It can also be called to attempt to cleanup previously running containers. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #942 Approved by: mheon
This commit is contained in:
committed by
Atomic Bot
parent
41bd607c12
commit
7fc1a329bd
@ -59,7 +59,7 @@ RUN set -x \
|
||||
&& go get github.com/onsi/gomega/...
|
||||
|
||||
# Install conmon
|
||||
ENV CRIO_COMMIT 66788a10e57f42faf741c2f149d0ee6635063014
|
||||
ENV CRIO_COMMIT f9ae39e395880507d52295ca58e3683f22524777
|
||||
RUN set -x \
|
||||
&& export GOPATH="$(mktemp -d)" \
|
||||
&& git clone https://github.com/kubernetes-incubator/cri-o.git "$GOPATH/src/github.com/kubernetes-incubator/cri-o.git" \
|
||||
|
||||
Reference in New Issue
Block a user