summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-01-23 22:01:42 +0100
committerGitHub <noreply@github.com>2019-01-23 22:01:42 +0100
commit812894bcea68d975febf45f2e15fdd69b3e430b1 (patch)
treed62b55ce30e46c0a1850055b02f967e9be736bde /docs
parent7838a13b61ee893a6dad5cf4cc4e36c5ab74b855 (diff)
parentf7f220d8274a95226f9aa503e8bd5b526f09eced (diff)
downloadpodman-812894bcea68d975febf45f2e15fdd69b3e430b1.tar.gz
podman-812894bcea68d975febf45f2e15fdd69b3e430b1.tar.bz2
podman-812894bcea68d975febf45f2e15fdd69b3e430b1.zip
Merge pull request #2203 from 9034725985/patch-1
remove sudo
Diffstat (limited to 'docs')
-rw-r--r--docs/tutorials/podman_tutorial.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorials/podman_tutorial.md b/docs/tutorials/podman_tutorial.md
index f8332c820..2b938319f 100644
--- a/docs/tutorials/podman_tutorial.md
+++ b/docs/tutorials/podman_tutorial.md
@@ -112,7 +112,7 @@ sudo make install PREFIX=/usr
This sample container will run a very basic httpd server that serves only its index
page.
```console
-sudo podman run -dt -e HTTPD_VAR_RUN=/var/run/httpd -e HTTPD_MAIN_CONF_D_PATH=/etc/httpd/conf.d \
+podman run -dt -e HTTPD_VAR_RUN=/var/run/httpd -e HTTPD_MAIN_CONF_D_PATH=/etc/httpd/conf.d \
-e HTTPD_MAIN_CONF_PATH=/etc/httpd/conf \
-e HTTPD_CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/httpd/ \
registry.fedoraproject.org/f27/httpd /usr/bin/run-httpd
@@ -123,7 +123,7 @@ will print the container ID after it has run.
### Listing running containers
The Podman *ps* command is used to list creating and running containers.
```console
-sudo podman ps
+podman ps
```
Note: If you add *-a* to the *ps* command, Podman will show all containers.