diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2018-06-14 16:25:36 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-06-15 09:15:58 +0000 |
commit | 8f1b7be275e74a7a3f9ecaad105846d603aabb1d (patch) | |
tree | 878e1a5709d6c353ced979aaaf56a3e25af4a652 /libpod/container_internal.go | |
parent | 6bdf023aeace52d47eb59697bfc46a8d2278b86d (diff) | |
download | podman-8f1b7be275e74a7a3f9ecaad105846d603aabb1d.tar.gz podman-8f1b7be275e74a7a3f9ecaad105846d603aabb1d.tar.bz2 podman-8f1b7be275e74a7a3f9ecaad105846d603aabb1d.zip |
Fix cleaning up network namespaces on detached ctrs
The containernetworking/plugins ns package does not support
unmounting and removing namespaces that were opened by another
process. Work around this by doing it ourself.
Closes: #858
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Closes: #949
Approved by: rhatdan
Diffstat (limited to 'libpod/container_internal.go')
-rw-r--r-- | libpod/container_internal.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_internal.go b/libpod/container_internal.go index f6d8fc32a..e25ffaa03 100644 --- a/libpod/container_internal.go +++ b/libpod/container_internal.go @@ -655,7 +655,7 @@ func (c *Container) stop(timeout uint) error { return err } - return c.cleanupStorage() + return c.cleanup() } // mountStorage sets up the container's root filesystem |