diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2018-06-13 07:40:41 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-06-13 14:30:45 +0000 |
commit | 65033b586fb353734d29dac1dfb9f342d5eeaa21 (patch) | |
tree | 1713e18f2b1a02d2accb8d5464fe857f67843307 /cmd/podman/container.go | |
parent | be217caa3856c76a6b997c203422715e13b0335a (diff) | |
download | podman-65033b586fb353734d29dac1dfb9f342d5eeaa21.tar.gz podman-65033b586fb353734d29dac1dfb9f342d5eeaa21.tar.bz2 podman-65033b586fb353734d29dac1dfb9f342d5eeaa21.zip |
add podman container and image command
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Closes: #941
Approved by: TomSweeneyRedHat
Diffstat (limited to 'cmd/podman/container.go')
-rw-r--r-- | cmd/podman/container.go | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/cmd/podman/container.go b/cmd/podman/container.go new file mode 100644 index 000000000..c8ad8e04d --- /dev/null +++ b/cmd/podman/container.go @@ -0,0 +1,45 @@ +package main + +import ( + "github.com/urfave/cli" +) + +var ( + subCommands = []cli.Command{ + attachCommand, + commitCommand, + createCommand, + diffCommand, + execCommand, + exportCommand, + inspectCommand, + killCommand, + logsCommand, + lsCommand, + mountCommand, + pauseCommand, + portCommand, + // pruneCommand, + restartCommand, + rmCommand, + runCommand, + startCommand, + statsCommand, + stopCommand, + topCommand, + umountCommand, + unpauseCommand, + // updateCommand, + waitCommand, + } + + containerDescription = "Manage containers" + containerCommand = cli.Command{ + Name: "container", + Usage: "container COMMAND", + Description: containerDescription, + ArgsUsage: "", + Subcommands: subCommands, + UseShortOptionHandling: true, + } +) |