docs: remove reference to "sudo" in "podman exists" examples

In both of "podman {container,image} exists" man pages, there
are superfluous uses of "sudo" in examples -- get rid of them.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
This commit is contained in:
Robert P. J. Day
2020-01-26 12:43:26 -05:00
parent d7e99b04b9
commit bb66d78b2f
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). 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 $? $ echo $?
0 0
$ $
@ -29,7 +29,7 @@ $
Check if an container called `webbackend` exists in local storage (the container does not actually exist). 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 $? $ echo $?
1 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). 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 $? $ echo $?
0 0
$ $
@ -30,7 +30,7 @@ $
Check if an image called `webbackend` exists in local storage (the image does not actually exist). 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 $? $ echo $?
1 1
$ $