mirror of
https://github.com/containers/podman.git
synced 2025-06-02 02:26:52 +08:00
Add support for --chrootdirs
Signed-off-by: LStandman <65296484+LStandman@users.noreply.github.com>
This commit is contained in:
@ -1453,6 +1453,11 @@ After the container is started, the location for the pidfile can be discovered w
|
||||
$ podman inspect --format '{{ .PidFile }}' $CID
|
||||
/run/containers/storage/${storage-driver}-containers/$CID/userdata/pidfile
|
||||
|
||||
#### **--chrootdirs**=*path*
|
||||
|
||||
Path to a directory inside the container that should be treated as a `chroot` directory.
|
||||
Any Podman managed file (e.g., /etc/resolv.conf, /etc/hosts, etc/hostname) that is mounted into the root directory will be mounted into that location as well.
|
||||
Multiple directories should be separated with a comma.
|
||||
|
||||
## EXAMPLES
|
||||
|
||||
|
@ -1529,6 +1529,12 @@ After the container is started, the location for the pidfile can be discovered w
|
||||
$ podman inspect --format '{{ .PidFile }}' $CID
|
||||
/run/containers/storage/${storage-driver}-containers/$CID/userdata/pidfile
|
||||
|
||||
#### **--chrootdirs**=*path*
|
||||
|
||||
Path to a directory inside the container that should be treated as a `chroot` directory.
|
||||
Any Podman managed file (e.g., /etc/resolv.conf, /etc/hosts, etc/hostname) that is mounted into the root directory will be mounted into that location as well.
|
||||
Multiple directories should be separated with a comma.
|
||||
|
||||
## Exit Status
|
||||
|
||||
The exit code from **podman run** gives information about why the container
|
||||
|
Reference in New Issue
Block a user