.nh
.TH podman 1
.SH NAME
.PP
podman - Simple management tool for pods, containers and images

.SH SYNOPSIS
.PP
\fBpodman\fP [\fIoptions\fP] \fIcommand\fP

.SH DESCRIPTION
.PP
Podman (Pod Manager) is a fully featured container engine that is a simple daemonless tool.
Podman provides a Docker-CLI comparable command line that eases the transition from other
container engines and allows the management of pods, containers and images.  Simply put: \fB\fCalias docker=podman\fR\&.
Most Podman commands can be run as a regular user, without requiring additional
privileges.

.PP
Podman uses Buildah(1) internally to create container images. Both tools share image
(not container) storage, hence each can use or manipulate images (but not containers)
created by the other.

.PP
Default settings for flags are defined in \fB\fCcontainers.conf\fR\&. Most settings for
Remote connections use the server's containers.conf, except when documented in
man pages.

.PP
\fBpodman [GLOBAL OPTIONS]\fP

.SH GLOBAL OPTIONS
.SS \fB--cgroup-manager\fP=\fImanager\fP
.PP
The CGroup manager to use for container cgroups. Supported values are cgroupfs or systemd. Default is systemd unless overridden in the containers.conf file.

.PP
Note: Setting this flag can cause certain commands to break when called on containers previously created by the other CGroup manager type.
Note: CGroup manager is not supported in rootless mode when using CGroups Version V1.

.SS \fB--conmon\fP
.PP
Path of the conmon binary (Default path is configured in \fB\fCcontainers.conf\fR)

.SS \fB--connection\fP, \fB-c\fP
.PP
Connection to use for remote podman, including Mac and Windows (excluding WSL2) machines, (Default connection is configured in \fB\fCcontainers.conf\fR)
Setting this option will switch the \fB--remote\fP option to true.
Remote connections use local containers.conf for default.

.SS \fB--events-backend\fP=\fItype\fP
.PP
Backend to use for storing events. Allowed values are \fBfile\fP, \fBjournald\fP, and
\fBnone\fP\&. When \fIfile\fP is specified, the events are stored under
\fB\fC<tmpdir>/events/events.log\fR (see \fB--tmpdir\fP below).

.SS \fB--help\fP, \fB-h\fP
.PP
Print usage statement

.SS \fB--hooks-dir\fP=\fIpath\fP
.PP
Each \fB\fC*.json\fR file in the path configures a hook for Podman containers.  For more details on the syntax of the JSON files and the semantics of hook injection, see \fB\fCoci-hooks(5)\fR\&.  Podman and libpod currently support both the 1.0.0 and 0.1.0 hook schemas, although the 0.1.0 schema is deprecated.

.PP
This option may be set multiple times; paths from later options have higher precedence (\fB\fCoci-hooks(5)\fR discusses directory precedence).

.PP
For the annotation conditions, libpod uses any annotations set in the generated OCI configuration.

.PP
For the bind-mount conditions, only mounts explicitly requested by the caller via \fB\fC--volume\fR are considered.  Bind mounts that libpod inserts by default (e.g. \fB\fC/dev/shm\fR) are not considered.

.PP
If \fB\fC--hooks-dir\fR is unset for root callers, Podman and libpod will currently default to \fB\fC/usr/share/containers/oci/hooks.d\fR and \fB\fC/etc/containers/oci/hooks.d\fR in order of increasing precedence.  Using these defaults is deprecated, and callers should migrate to explicitly setting \fB\fC--hooks-dir\fR\&.

.PP
Podman and libpod currently support an additional \fB\fCprecreate\fR state which is called before the runtime's \fB\fCcreate\fR operation.  Unlike the other stages, which receive the container state on their standard input, \fB\fCprecreate\fR hooks receive the proposed runtime configuration on their standard input.  They may alter that configuration as they see fit, and write the altered form to their standard output.

.PP
\fBWARNING\fP: the \fB\fCprecreate\fR hook allows powerful changes to occur, such as adding additional mounts to the runtime configuration.  That power also makes it easy to break things.  Before reporting libpod errors, try running a container with \fB\fCprecreate\fR hooks disabled to see if the problem is due to one of the hooks.

.SS \fB--identity\fP=\fIpath\fP
.PP
Path to ssh identity file. If the identity file has been encrypted, podman prompts the user for the passphrase.
If no identity file is provided and no user is given, podman defaults to the user running the podman command.
Podman prompts for the login password on the remote server.

.PP
Identity value resolution precedence:
 - command line value
 - environment variable \fB\fCCONTAINER_SSHKEY\fR, if \fB\fCCONTAINER_HOST\fR is found
 - \fB\fCcontainers.conf\fR
Remote connections use local containers.conf for default.

.SS \fB--log-level\fP=\fIlevel\fP
.PP
Log messages at and above specified level: debug, info, warn, error, fatal or panic (default: "warn")

.SS \fB--network-cmd-path\fP=\fIpath\fP
.PP
Path to the command binary to use for setting up a network.  It is currently only used for setting up a slirp4netns(1) or pasta(1) network.  If "" is used then the binary is looked up using the $PATH environment variable.

.SS \fB--network-config-dir\fP=\fIdirectory\fP
.PP
Path to the directory where network configuration files are located.
For the netavark backend "/etc/containers/networks" is used as root
and "$graphroot/networks" as rootless.
For the CNI backend the default is "/etc/cni/net.d" as root
and "$HOME/.config/cni/net.d" as rootless. CNI will be deprecated from Podman in the future for netavark.

.SS \fB--noout\fP
.PP
Redirect stdout to /dev/null. This command will prevent all stdout from the Podman command. The \fB--noout\fP  option will not block stderr or stdout from containers.

.SS \fB--remote\fP, \fB-r\fP
.PP
When true, access to the Podman service will be remote. Defaults to false.
Settings can be modified in the containers.conf file. If the CONTAINER_HOST
environment variable is set, the \fB--remote\fP option defaults to true.

.SS \fB--root\fP=\fIvalue\fP
.PP
Storage root dir in which data, including images, is stored (default: "/var/lib/containers/storage" for UID 0, "$HOME/.local/share/containers/storage" for other users).
Default root dir configured in \fB\fCcontainers-storage.conf(5)\fR\&.

.PP
Overriding this option will cause the \fIstorage-opt\fP settings in \fB\fCcontainers-storage.conf(5)\fR to be ignored.  The user must specify additional options via the \fB\fC--storage-opt\fR flag.

.SS \fB--runroot\fP=\fIvalue\fP
.PP
Storage state directory where all state information is stored (default: "/run/containers/storage" for UID 0, "/run/user/$UID/run" for other users).
Default state dir configured in \fB\fCcontainers-storage.conf(5)\fR\&.

.SS \fB--runtime\fP=\fIvalue\fP
.PP
Name of the OCI runtime as specified in containers.conf or absolute path to the OCI compatible binary used to run containers.

.SS \fB--runtime-flag\fP=\fIflag\fP
.PP
Adds global flags for the container runtime. To list the supported flags, please
consult the manpages of the selected container runtime (\fB\fCrunc\fR is the default
runtime, the manpage to consult is \fB\fCrunc(8)\fR\&.  When the machine is configured
for cgroup V2, the default runtime is \fB\fCcrun\fR, the manpage to consult is \fB\fCcrun(8)\fR\&.).

.PP
Note: Do not pass the leading \fB\fC--\fR to the flag. To pass the runc flag \fB\fC--log-format json\fR
to podman build, the option given would be \fB\fC--runtime-flag log-format=json\fR\&.

.SS \fB--ssh\fP=\fIvalue\fP
.PP
This option allows the user to change the ssh mode, meaning that rather than using the default \fBgolang\fP mode, one can instead use \fB--ssh=native\fP
to use the installed ssh binary and config file declared in containers.conf.

.SS \fB--storage-driver\fP=\fIvalue\fP
.PP
Storage driver.  The default storage driver for UID 0 is configured in \fB\fCcontainers-storage.conf(5)\fR in rootless mode), and is \fIvfs\fP for non-root users when \fIfuse-overlayfs\fP is not available.  The \fB\fCSTORAGE_DRIVER\fR environment variable overrides the default.  The --storage-driver specified driver overrides all.

.PP
Overriding this option will cause the \fIstorage-opt\fP settings in \fB\fCcontainers-storage.conf(5)\fR to be ignored.  The user must
specify additional options via the \fB\fC--storage-opt\fR flag.

.SS \fB--storage-opt\fP=\fIvalue\fP
.PP
Specify a storage driver option. Default storage driver options are configured in \fB\fCcontainers-storage.conf(5)\fR\&. The \fB\fCSTORAGE_OPTS\fR environment variable overrides the default. The --storage-opt specified options override all. Specify --storage-opt="" so no storage options will be used.

.SS \fB--syslog\fP
.PP
Output logging information to syslog as well as the console (default \fIfalse\fP).

.PP
On remote clients, including Mac and Windows (excluding WSL2) machines, logging is directed to the file $HOME/.config/containers/podman.log.

.SS \fB--tmpdir\fP=\fIpath\fP
.PP
Path to the tmp directory, for libpod runtime content. Defaults to \fB\fC$XDG_RUNTIME_DIR/libpod/tmp\fR as rootless and \fB\fC/run/libpod/tmp\fR as rootful.

.PP
NOTE --tmpdir is not used for the temporary storage of downloaded images.  Use the environment variable \fB\fCTMPDIR\fR to change the temporary storage location of downloaded container images. Podman defaults to use \fB\fC/var/tmp\fR\&.

.SS \fB--transient-store\fP
.PP
Enables a global transient storage mode where all container metadata is stored on non-persistent media (i.e. in the location specified by \fB\fC--runroot\fR).
This mode allows starting containers faster, as well as guaranteeing a fresh state on boot in case of unclean shutdowns or other problems. However
it is not compatible with a traditional model where containers persist across reboots.

.PP
Default value for this is configured in \fB\fCcontainers-storage.conf(5)\fR\&.

.SS \fB--url\fP=\fIvalue\fP
.PP
URL to access Podman service (default from \fB\fCcontainers.conf\fR, rootless \fB\fCunix://run/user/$UID/podman/podman.sock\fR or as root \fB\fCunix://run/podman/podman.sock\fR).
Setting this option will switch the \fB--remote\fP option to true.

.RS
.IP \(bu 2
\fB\fCCONTAINER_HOST\fR is of the format \fB\fC<schema>://[<user[:<password>]@]<host>[:<port>][<path>]\fR

.RE

.PP
Details:
 - \fB\fCschema\fR is one of:
   * \fB\fCssh\fR (default): a local unix(7) socket on the named \fB\fChost\fR and \fB\fCport\fR, reachable via SSH
   * \fB\fCtcp\fR: an unencrypted, unauthenticated TCP connection to the named \fB\fChost\fR and \fB\fCport\fR
   * \fB\fCunix\fR: a local unix(7) socket at the specified \fB\fCpath\fR, or the default for the user
 - \fB\fCuser\fR will default to either \fB\fCroot\fR or the current running user (\fB\fCssh\fR only)
 - \fB\fCpassword\fR has no default (\fB\fCssh\fR only)
 - \fB\fChost\fR must be provided and is either the IP or name of the machine hosting the Podman service (\fB\fCssh\fR and \fB\fCtcp\fR)
 - \fB\fCport\fR defaults to 22 (\fB\fCssh\fR and \fB\fCtcp\fR)
 - \fB\fCpath\fR defaults to either \fB\fC/run/podman/podman.sock\fR, or \fB\fC/run/user/$UID/podman/podman.sock\fR if running rootless (\fB\fCunix\fR), or must be explicitly specified (\fB\fCssh\fR)

.PP
URL value resolution precedence:
 - command line value
 - environment variable \fB\fCCONTAINER_HOST\fR
 - \fB\fCcontainers.conf\fR \fB\fCservice_destinations\fR table
 - \fB\fCunix://run/podman/podman.sock\fR

.PP
Remote connections use local containers.conf for default.

.PP
Some example URL values in valid formats:
 - unix://run/podman/podman.sock
 - unix://run/user/$UID/podman/podman.sock
 - ssh://notroot@localhost:22/run/user/$UID/podman/podman.sock
 - ssh://root@localhost:22/run/podman/podman.sock
 - tcp://localhost:34451
 - tcp://127.0.0.1:34451

.SS \fB--version\fP, \fB-v\fP
.PP
Print the version

.SS \fB--volumepath\fP=\fIvalue\fP
.PP
Volume directory where builtin volume information is stored (default: "/var/lib/containers/storage/volumes" for UID 0, "$HOME/.local/share/containers/storage/volumes" for other users). Default volume path can be overridden in \fB\fCcontainers.conf\fR\&.

.SH Environment Variables
.PP
Podman can set up environment variables from env of [engine] table in containers.conf. These variables can be overridden by passing  environment variables before the \fB\fCpodman\fR commands.

.SS \fBCONTAINERS_CONF\fP
.PP
Set default locations of containers.conf file

.SS \fBCONTAINERS_REGISTRIES_CONF\fP
.PP
Set default location of the registries.conf file.

.SS \fBCONTAINERS_STORAGE_CONF\fP
.PP
Set default location of the storage.conf file.

.SS \fBCONTAINER_CONNECTION\fP
.PP
Override default \fB\fC--connection\fR value to access Podman service. Also enabled --remote option.

.SS \fBCONTAINER_HOST\fP
.PP
Set default \fB\fC--url\fR value to access Podman service. Also enabled --remote option.

.SS \fBCONTAINER_SSHKEY\fP
.PP
Set default \fB\fC--identity\fR path to ssh key file value used to access Podman service.

.SS \fBSTORAGE_DRIVER\fP
.PP
Set default \fB\fC--storage-driver\fR value.

.SS \fBSTORAGE_OPTS\fP
.PP
Set default \fB\fC--storage-opts\fR value.

.SS \fBTMPDIR\fP
.PP
Set the temporary storage location of downloaded container images. Podman defaults to use \fB\fC/var/tmp\fR\&.

.SS \fBXDG_CONFIG_HOME\fP
.PP
In Rootless mode configuration files are read from \fB\fCXDG_CONFIG_HOME\fR when
specified, otherwise in the home directory of the user under
\fB\fC$HOME/.config/containers\fR\&.

.SS \fBXDG_DATA_HOME\fP
.PP
In Rootless mode images are pulled under \fB\fCXDG_DATA_HOME\fR when specified,
otherwise in the home directory of the user under
\fB\fC$HOME/.local/share/containers/storage\fR\&.

.SS \fBXDG_RUNTIME_DIR\fP
.PP
In Rootless mode temporary configuration data is stored in \fB\fC${XDG_RUNTIME_DIR}/containers\fR\&.

.SH Remote Access
.PP
The Podman command can be used with remote services using the \fB\fC--remote\fR flag. Connections can
be made using local unix domain sockets, ssh or directly to tcp sockets. When specifying the
podman --remote flag, only the global options \fB\fC--url\fR, \fB\fC--identity\fR, \fB\fC--log-level\fR, \fB\fC--connection\fR are used.

.PP
Connection information can also be managed using the containers.conf file.

.SH Exit Codes
.PP
The exit code from \fB\fCpodman\fR gives information about why the container
failed to run or why it exited.  When \fB\fCpodman\fR commands exit with a non-zero code,
the exit codes follow the \fB\fCchroot\fR standard, see below:

.PP
\fB125\fP The error is with podman \fB\fIitself\fP\fP

.PP
.RS

.nf
$ podman run --foo busybox; echo $?
Error: unknown flag: --foo
125

.fi
.RE

.PP
\fB126\fP Executing a \fIcontained command\fP and the \fIcommand\fP cannot be invoked

.PP
.RS

.nf
$ podman run busybox /etc; echo $?
Error: container_linux.go:346: starting container process caused "exec: \\"/etc\\": permission denied": OCI runtime error
126

.fi
.RE

.PP
\fB127\fP Executing a \fIcontained command\fP and the \fIcommand\fP cannot be found
    $ podman run busybox foo; echo $?
    Error: container_linux.go:346: starting container process caused "exec: \\"foo\\": executable file not found in $PATH": OCI runtime error
    127

.PP
\fBExit code\fP \fIcontained command\fP exit code

.PP
.RS

.nf
$ podman run busybox /bin/sh -c 'exit 3'; echo $?
3

.fi
.RE

.SH COMMANDS
.TS
allbox;
l l 
l l .
\fB\fCCommand\fR	\fB\fCDescription\fR
podman-attach(1)	Attach to a running container.
podman-auto-update(1)	T{
Auto update containers according to their auto-update policy
T}
podman-build(1)	T{
Build a container image using a Containerfile.
T}
podman-commit(1)	T{
Create new image based on the changed container.
T}
podman-completion(1)	T{
Generate shell completion scripts
T}
podman-container(1)	Manage containers.
podman-cp(1)	T{
Copy files/folders between a container and the local filesystem.
T}
podman-create(1)	Create a new container.
podman-diff(1)	T{
Inspect changes on a container or image's filesystem.
T}
podman-events(1)	Monitor Podman events
podman-exec(1)	T{
Execute a command in a running container.
T}
podman-export(1)	T{
Export a container's filesystem contents as a tar archive.
T}
podman-generate(1)	T{
Generate structured data based on containers, pods or volumes.
T}
podman-healthcheck(1)	T{
Manage healthchecks for containers
T}
podman-history(1)	Show the history of an image.
podman-image(1)	Manage images.
podman-images(1)	List images in local storage.
podman-import(1)	T{
Import a tarball and save it as a filesystem image.
T}
podman-info(1)	T{
Displays Podman related system information.
T}
podman-init(1)	T{
Initialize one or more containers
T}
podman-inspect(1)	T{
Display a container, image, volume, network, or pod's configuration.
T}
podman-kill(1)	T{
Kill the main process in one or more containers.
T}
podman-load(1)	T{
Load image(s) from a tar archive into container storage.
T}
podman-login(1)	Login to a container registry.
podman-logout(1)	T{
Logout of a container registry.
T}
podman-logs(1)	T{
Display the logs of one or more containers.
T}
podman-machine(1)	T{
Manage Podman's virtual machine
T}
podman-manifest(1)	T{
Create and manipulate manifest lists and image indexes.
T}
podman-mount(1)	T{
Mount a working container's root filesystem.
T}
podman-network(1)	Manage Podman networks.
podman-pause(1)	Pause one or more containers.
podman-kube(1)	T{
Play containers, pods or volumes based on a structured input file.
T}
podman-pod(1)	T{
Management tool for groups of containers, called pods.
T}
podman-port(1)	T{
List port mappings for a container.
T}
podman-ps(1)	T{
Prints out information about containers.
T}
podman-pull(1)	Pull an image from a registry.
podman-push(1)	T{
Push an image, manifest list or image index from local storage to elsewhere.
T}
podman-rename(1)	Rename an existing container.
podman-restart(1)	T{
Restart one or more containers.
T}
podman-rm(1)	Remove one or more containers.
podman-rmi(1)	T{
Removes one or more locally stored images.
T}
podman-run(1)	T{
Run a command in a new container.
T}
podman-save(1)	Save image(s) to an archive.
podman-search(1)	T{
Search a registry for an image.
T}
podman-secret(1)	Manage podman secrets.
podman-start(1)	Start one or more containers.
podman-stats(1)	T{
Display a live stream of one or more container's resource usage statistics.
T}
podman-stop(1)	T{
Stop one or more running containers.
T}
podman-system(1)	Manage podman.
podman-tag(1)	T{
Add an additional name to a local image.
T}
podman-top(1)	T{
Display the running processes of a container.
T}
podman-unmount(1)	T{
Unmount a working container's root filesystem.
T}
podman-unpause(1)	T{
Unpause one or more containers.
T}
podman-unshare(1)	T{
Run a command inside of a modified user namespace.
T}
podman-untag(1)	T{
Removes one or more names from a locally-stored image.
T}
podman-update(1)	T{
Updates the cgroup configuration of a given container.
T}
podman-version(1)	T{
Display the Podman version information.
T}
podman-volume(1)	T{
Simple management tool for volumes.
T}
podman-wait(1)	T{
Wait on one or more containers to stop and print their exit codes.
T}
.TE

.SH CONFIGURATION FILES
.PP
\fBcontainers.conf\fP (\fB\fC/usr/share/containers/containers.conf\fR, \fB\fC/etc/containers/containers.conf\fR, \fB\fC$HOME/.config/containers/containers.conf\fR)

.PP
Podman has builtin defaults for command line options. These defaults can be overridden using the containers.conf configuration files.

.PP
Distributions ship the \fB\fC/usr/share/containers/containers.conf\fR file with their default settings. Administrators can override fields in this file by creating the \fB\fC/etc/containers/containers.conf\fR file.  Users can further modify defaults by creating the \fB\fC$HOME/.config/containers/containers.conf\fR file. Podman merges its builtin defaults with the specified fields from these files, if they exist. Fields specified in the users file override the administrator's file, which overrides the distribution's file, which override the built-in defaults.

.PP
Podman uses builtin defaults if no containers.conf file is found.

.PP
If the \fBCONTAINERS_CONF\fP environment variable is set, then its value is used for the containers.conf file rather than the default.

.PP
\fBmounts.conf\fP (\fB\fC/usr/share/containers/mounts.conf\fR)

.PP
The mounts.conf file specifies volume mount directories that are automatically mounted inside containers when executing the \fB\fCpodman run\fR or \fB\fCpodman start\fR commands. Administrators can override the defaults file by creating \fB\fC/etc/containers/mounts.conf\fR\&.

.PP
When Podman runs in rootless mode, the file \fB\fC$HOME/.config/containers/mounts.conf\fR will override the default if it exists. Please refer to containers-mounts.conf(5) for further details.

.PP
\fBpolicy.json\fP (\fB\fC/etc/containers/policy.json\fR)

.PP
Signature verification policy files are used to specify policy, e.g. trusted keys, applicable when deciding whether to accept an image, or individual signatures of that image, as valid.

.PP
\fBregistries.conf\fP (\fB\fC/etc/containers/registries.conf\fR, \fB\fC$HOME/.config/containers/registries.conf\fR)

.PP
registries.conf is the configuration file which specifies which container registries should be consulted when completing image names which do not include a registry or domain portion.

.PP
Non root users of Podman can create the \fB\fC$HOME/.config/containers/registries.conf\fR file to be used instead of the system defaults.

.PP
If the \fBCONTAINERS_REGISTRIES_CONF\fP environment variable is set, then its value is used for the registries.conf file rather than the default.

.PP
\fBstorage.conf\fP (\fB\fC/etc/containers/storage.conf\fR, \fB\fC$HOME/.config/containers/storage.conf\fR)

.PP
storage.conf is the storage configuration file for all tools using containers/storage

.PP
The storage configuration file specifies all of the available container storage options for tools using shared container storage.

.PP
When Podman runs in rootless mode, the file \fB\fC$HOME/.config/containers/storage.conf\fR is used instead of the system defaults.

.PP
If the \fBCONTAINERS_STORAGE_CONF\fP environment variable is set, then its value is used for the storage.conf file rather than the default.

.SH Rootless mode
.PP
Podman can also be used as non-root user. When podman runs in rootless mode, a user namespace is automatically created for the user, defined in /etc/subuid and /etc/subgid.

.PP
Containers created by a non-root user are not visible to other users and are not seen or managed by Podman running as root.

.PP
It is required to have multiple UIDS/GIDS set for a user.  Be sure the user is present in the files \fB\fC/etc/subuid\fR and \fB\fC/etc/subgid\fR\&.

.PP
Execute the following commands to add the ranges to the files

.PP
.RS

.nf
$ sudo usermod --add-subuids 10000-75535 USERNAME
$ sudo usermod --add-subgids 10000-75535 USERNAME

.fi
.RE

.PP
Or just add the content manually.

.PP
.RS

.nf
$ echo USERNAME:10000:65536 >> /etc/subuid
$ echo USERNAME:10000:65536 >> /etc/subgid

.fi
.RE

.PP
See the \fB\fCsubuid(5)\fR and \fB\fCsubgid(5)\fR man pages for more information.

.PP
Images are pulled under \fB\fCXDG_DATA_HOME\fR when specified, otherwise in the home directory of the user under \fB\fC\&.local/share/containers/storage\fR\&.

.PP
Currently slirp4netns or pasta is required to be installed to create a network
device, otherwise rootless containers need to run in the network namespace of
the host.

.PP
In certain environments like HPC (High Performance Computing), users cannot take advantage of the additional UIDs and GIDs from the /etc/subuid and /etc/subgid systems.  However, in this environment, rootless Podman can operate with a single UID.  To make this work, set the \fB\fCignore_chown_errors\fR option in the \fB\fCcontainers-storage.conf(5)\fR file. This option tells Podman when pulling an image to ignore chown errors when attempting to change a file in a container image to match the non-root UID in the image. This means all files get saved as the user's UID. Note this could cause issues when running the container.

.SS \fBNOTE:\fP Unsupported file systems in rootless mode
.PP
The Overlay file system (OverlayFS) is not supported with kernels prior to 5.12.9 in rootless mode.  The fuse-overlayfs package is a tool that provides the functionality of OverlayFS in user namespace that allows mounting file systems in rootless environments.  It is recommended to install the fuse-overlayfs package.  In rootless mode, Podman will automatically use the fuse-overlayfs program as the mount_program if installed, as long as the $HOME/.config/containers/storage.conf file was not previously created.  If storage.conf exists in the homedir, add \fB\fCmount_program = "/usr/bin/fuse-overlayfs"\fR under \fB\fC[storage.options.overlay]\fR to enable this feature.

.PP
The Network File System (NFS) and other distributed file systems (for example: Lustre, Spectrum Scale, the General Parallel File System (GPFS)) are not supported when running in rootless mode as these file systems do not understand user namespace.  However, rootless Podman can make use of an NFS Homedir by modifying the \fB\fC$HOME/.config/containers/storage.conf\fR to have the \fB\fCgraphroot\fR option point to a directory stored on local (Non NFS) storage.

.PP
For more information, please refer to the Podman Troubleshooting Page.

.SH SEE ALSO
.PP
\fBcontainers-mounts.conf(5)\fP, \fBcontainers.conf(5)\fP, \fBcontainers-registries.conf(5)\fP, \fBcontainers-storage.conf(5)\fP, \fBbuildah(1)\fP, \fBoci-hooks(5)\fP, \fBcontainers-policy.json(5)\fP, \fBcrun(1)\fP, \fBrunc(8)\fP, \fBsubuid(5)\fP, \fBsubgid(5)\fP, \fBslirp4netns(1)\fP, \fBpasta(1)\fP, \fBconmon(8)\fP

.SH HISTORY
.PP
Dec 2016, Originally compiled by Dan Walsh dwalsh@redhat.com
\[la]mailto:dwalsh@redhat.com\[ra]
