diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2018-07-19 14:24:22 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@gmail.com> | 2018-07-24 16:12:31 -0400 |
commit | 3ae0c80806b68f712756fd660d06449e71eb41b7 (patch) | |
tree | ba16d83caaecc79748cd9c594c71070991ad3b09 /cmd/podman/main.go | |
parent | 8f91678a499d29cb5221153e223f5e896cb1b5b1 (diff) | |
download | podman-3ae0c80806b68f712756fd660d06449e71eb41b7.tar.gz podman-3ae0c80806b68f712756fd660d06449e71eb41b7.tar.bz2 podman-3ae0c80806b68f712756fd660d06449e71eb41b7.zip |
Add --namespace flag to Podman
Allows joining libpod to a specific namespace when running a
Podman command.
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Diffstat (limited to 'cmd/podman/main.go')
-rw-r--r-- | cmd/podman/main.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/podman/main.go b/cmd/podman/main.go index 3dbf196c2..9ae45e056 100644 --- a/cmd/podman/main.go +++ b/cmd/podman/main.go @@ -173,6 +173,11 @@ func main() { Value: "error", }, cli.StringFlag{ + Name: "namespace", + Usage: "set the libpod namespace, used create separate views of the containers and pods on the system", + Value: "", + }, + cli.StringFlag{ Name: "root", Usage: "path to the root directory in which data, including images, is stored", }, |