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>
This commit is contained in:
Matthew Heon
2018-07-19 14:24:22 -04:00
parent 8f91678a49
commit 3ae0c80806
5 changed files with 15 additions and 1 deletions

View File

@ -285,7 +285,6 @@ func WithCNIPluginDir(dir string) RuntimeOption {
}
// WithNamespace sets the namespace for libpod.
// Namespace is the libpod namespace to use.
// Namespaces are used to create scopes to separate containers and pods
// in the state.
// When namespace is set, libpod will only view containers and pods in