Merge pull request #4982 from rpjday/rpjday/exists_sudo

docs: remove reference to "sudo" in "podman exists" examples
This commit is contained in:
OpenShift Merge Robot
2020-01-27 04:49:58 -08:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ Print usage statement
Check if an container called `webclient` exists in local storage (the container does actually exist).
```
$ sudo podman container exists webclient
$ podman container exists webclient
$ echo $?
0
$
@@ -29,7 +29,7 @@ $
Check if an container called `webbackend` exists in local storage (the container does not actually exist).
```
$ sudo podman container exists webbackend
$ podman container exists webbackend
$ echo $?
1
$

View File

@@ -22,7 +22,7 @@ Print usage statement
Check if an image called `webclient` exists in local storage (the image does actually exist).
```
$ sudo podman image exists webclient
$ podman image exists webclient
$ echo $?
0
$
@@ -30,7 +30,7 @@ $
Check if an image called `webbackend` exists in local storage (the image does not actually exist).
```
$ sudo podman image exists webbackend
$ podman image exists webbackend
$ echo $?
1
$