summaryrefslogtreecommitdiff
path: root/cmd/podman/run.go
diff options
context:
space:
mode:
authorTomSweeneyRedHat <tsweeney@redhat.com>2019-02-17 11:14:10 -0500
committerTomSweeneyRedHat <tsweeney@redhat.com>2019-02-17 13:49:05 -0500
commitb62c0e703d70439c677205fb423e81491e8d1cf9 (patch)
treec8a2cea744a1a770800ea85cf1c646c2b573ec4b /cmd/podman/run.go
parenta99f4924d9d76f59e85bde09944d7c5e687ea8aa (diff)
downloadpodman-b62c0e703d70439c677205fb423e81491e8d1cf9.tar.gz
podman-b62c0e703d70439c677205fb423e81491e8d1cf9.tar.bz2
podman-b62c0e703d70439c677205fb423e81491e8d1cf9.zip
Add 3rd chunk of Cobra examples
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com> Adds the third chunk of Cobra examples to the cli help. As were putting together a release tomorrow, tried to hit the heavy commands with this PR. Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
Diffstat (limited to 'cmd/podman/run.go')
-rw-r--r--cmd/podman/run.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/podman/run.go b/cmd/podman/run.go
index 64f8b6856..05e75e4b8 100644
--- a/cmd/podman/run.go
+++ b/cmd/podman/run.go
@@ -30,7 +30,9 @@ var (
runCommand.GlobalFlags = MainGlobalOpts
return runCmd(&runCommand)
},
- Example: "IMAGE [COMMAND [ARG...]]",
+ Example: `podman run imageID ls -alF /etc
+ podman run --net=host imageID dnf -y install java
+ podman run --volume /var/hostdir:/var/ctrdir -i -t fedora /bin/bash`,
}
)