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>
This commit is contained in:
TomSweeneyRedHat
2019-03-15 12:18:49 -04:00
parent 6e4c32967e
commit 26a89b61b3

View File

@ -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