From 9a7416c3426d6fbad1205f333b8b2c6da4908be2 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Tue, 11 Dec 2018 10:22:34 +0100 Subject: rootless: fix restart when using fuse-overlayfs With rootless containers we cannot really restart an existing container as we would need to join the mount namespace as well to be able to reuse the storage, so ensure the container is stopped first. Closes: https://github.com/containers/libpod/issues/1965 Signed-off-by: Giuseppe Scrivano --- cmd/podman/main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd/podman/main.go') diff --git a/cmd/podman/main.go b/cmd/podman/main.go index 280448dc8..796b0b03a 100644 --- a/cmd/podman/main.go +++ b/cmd/podman/main.go @@ -36,6 +36,7 @@ var cmdsNotRequiringRootless = map[string]bool{ "logout": true, "kill": true, "pause": true, + "restart": true, "run": true, "unpause": true, "search": true, -- cgit v1.2.3-54-g00ecf