mirror of
https://github.com/containers/podman.git
synced 2026-03-13 08:01:19 +08:00
Merge pull request #4982 from rpjday/rpjday/exists_sudo
docs: remove reference to "sudo" in "podman exists" examples
This commit is contained in:
@@ -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
|
||||
$
|
||||
|
||||
@@ -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
|
||||
$
|
||||
|
||||
Reference in New Issue
Block a user