mirror of
https://github.com/containers/podman.git
synced 2025-12-07 14:20:44 +08:00
Add examples for Cobra
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com> First pass of entries for the Examples listed in the Cobra Help. Will add others in following PR's.
This commit is contained in:
@@ -49,7 +49,9 @@ var (
|
||||
createCommand.GlobalFlags = MainGlobalOpts
|
||||
return createCmd(&createCommand)
|
||||
},
|
||||
Example: "IMAGE [COMMAND [ARG...]]",
|
||||
Example: `podman create alpine ls
|
||||
podman create --annotation HELLO=WORLD alpine ls
|
||||
podman create -t -i --name myctr alpine ls`,
|
||||
}
|
||||
|
||||
defaultEnvVariables = map[string]string{
|
||||
|
||||
Reference in New Issue
Block a user