diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-03-17 21:46:37 +0100 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-03-18 11:40:22 +0100 |
commit | 46b74a8ff8dea146539fa731cc5746fc5a59e186 (patch) | |
tree | b84efa30a63a9f2b06761a07aeadc9b84b7e7935 /cmd/podman/main.go | |
parent | 8aed32acea9bb35898abcee58fc9aa2a03ef264a (diff) | |
download | podman-46b74a8ff8dea146539fa731cc5746fc5a59e186.tar.gz podman-46b74a8ff8dea146539fa731cc5746fc5a59e186.tar.bz2 podman-46b74a8ff8dea146539fa731cc5746fc5a59e186.zip |
rootless: fix pod top
we need to join the namespace of the target pod.
Closes: https://github.com/containers/libpod/issues/2682
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'cmd/podman/main.go')
-rw-r--r-- | cmd/podman/main.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/main.go b/cmd/podman/main.go index 1717e0624..fa98dc53c 100644 --- a/cmd/podman/main.go +++ b/cmd/podman/main.go @@ -75,6 +75,7 @@ var cmdsNotRequiringRootless = map[*cobra.Command]bool{ _podKillCommand: true, _podStatsCommand: true, _podStopCommand: true, + _podTopCommand: true, _restartCommand: true, _rmCommand: true, _runCommand: true, |