summaryrefslogtreecommitdiff
path: root/cmd/podman/run.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-17 22:44:04 +0100
committerGitHub <noreply@github.com>2019-02-17 22:44:04 +0100
commit3f32eae56fed23e93c45d7da53da33702e954a26 (patch)
treecf3b89fca4fbbe365f2ebca71ed26980c5307523 /cmd/podman/run.go
parent6aaf8d39a9a26510e40fd54399e97fe177afadde (diff)
parentb62c0e703d70439c677205fb423e81491e8d1cf9 (diff)
downloadpodman-3f32eae56fed23e93c45d7da53da33702e954a26.tar.gz
podman-3f32eae56fed23e93c45d7da53da33702e954a26.tar.bz2
podman-3f32eae56fed23e93c45d7da53da33702e954a26.zip
Merge pull request #2357 from TomSweeneyRedHat/dev/tsweeney/cobrahelp3
Add 3rd chunk of Cobra examples
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 45fc8df76..ff4c3b418 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`,
}
)