summaryrefslogtreecommitdiff
path: root/docs/podman-run.1.md
diff options
context:
space:
mode:
authorTomSweeneyRedHat <tsweeney@redhat.com>2019-03-15 12:18:49 -0400
committerTomSweeneyRedHat <tsweeney@redhat.com>2019-03-15 15:03:47 -0400
commit26a89b61b3bd24e20d37fba263334b44afd0187e (patch)
tree47899cc1b46cf998bbd876587bd0e73ea6849275 /docs/podman-run.1.md
parent6e4c32967ec02cdc33b801df8b5730dffce9b8a3 (diff)
downloadpodman-26a89b61b3bd24e20d37fba263334b44afd0187e.tar.gz
podman-26a89b61b3bd24e20d37fba263334b44afd0187e.tar.bz2
podman-26a89b61b3bd24e20d37fba263334b44afd0187e.zip
Add CLI storage conf example to run manpage
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com> Add an example to the run man page to illustrate how you can configure storage from the CLI. This addresses a request from issue #2662. Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
Diffstat (limited to 'docs/podman-run.1.md')
-rw-r--r--docs/podman-run.1.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/podman-run.1.md b/docs/podman-run.1.md
index fe98e43ca..cf385717e 100644
--- a/docs/podman-run.1.md
+++ b/docs/podman-run.1.md
@@ -1129,6 +1129,15 @@ KillMode=process
WantedBy=multi-user.target
```
+### Configuring Storage Options from the command line
+
+Podman allows for the configuration of storage by changing the values
+in the /etc/container/storage.conf or by using global options. This
+shows how to setup and use fuse-overlayfs for a one time run of busybox
+using global options.
+
+podman --log-level=debug --storage-driver overlay --storage-opt "overlay.mount_program=/usr/bin/fuse-overlayfs" run busybox /bin/sh
+
### Rootless Containers
Podman runs as a non root user on most systems. This feature requires that a new enough version of shadow-utils