diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2018-07-13 13:57:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-13 13:57:04 -0400 |
commit | 827359c8e6b116b839a95460cc1775a11f84b682 (patch) | |
tree | 2c75493ec56ff9f882c766c56f128d933b0dab8b /cmd/podman/pod.go | |
parent | 35b7a875fd9747a6f322e12f358aeacea778eae5 (diff) | |
parent | a04a8d1dd4d375ebe5084bac760dc82f88cfc77f (diff) | |
download | podman-827359c8e6b116b839a95460cc1775a11f84b682.tar.gz podman-827359c8e6b116b839a95460cc1775a11f84b682.tar.bz2 podman-827359c8e6b116b839a95460cc1775a11f84b682.zip |
Merge pull request #1065 from haircommander/pod-start-create-rm
Podman pod create/rm/ps commands with man pages and tests
Diffstat (limited to 'cmd/podman/pod.go')
-rw-r--r-- | cmd/podman/pod.go | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/cmd/podman/pod.go b/cmd/podman/pod.go new file mode 100644 index 000000000..6cf2920a5 --- /dev/null +++ b/cmd/podman/pod.go @@ -0,0 +1,25 @@ +package main + +import ( + "github.com/urfave/cli" +) + +var ( + podDescription = ` + podman pod + + Manage container pods. + Pods are a group of one or more containers sharing the same network, pid and ipc namespaces. +` + podCommand = cli.Command{ + Name: "pod", + Usage: "Manage pods", + Description: podDescription, + UseShortOptionHandling: true, + Subcommands: []cli.Command{ + podCreateCommand, + podPsCommand, + podRmCommand, + }, + } +) |