diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-03-14 07:50:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-14 07:50:15 -0400 |
commit | 219f1162407b8f4c2c05aa07166b999d64ead113 (patch) | |
tree | 0a25a2cf34698a2e3e7651a1bcda6cbcb0b08b44 /libpod/container_config.go | |
parent | 0144cabc41b82e4c1b59f681ca845c01ae1735de (diff) | |
parent | e8968c867f7af21f9e5eec661f7e057a74127511 (diff) | |
download | podman-219f1162407b8f4c2c05aa07166b999d64ead113.tar.gz podman-219f1162407b8f4c2c05aa07166b999d64ead113.tar.bz2 podman-219f1162407b8f4c2c05aa07166b999d64ead113.zip |
Merge pull request #13221 from LStandman/main
Add support for --chrootdirs
Diffstat (limited to 'libpod/container_config.go')
-rw-r--r-- | libpod/container_config.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libpod/container_config.go b/libpod/container_config.go index e56f1342a..0d9cd5723 100644 --- a/libpod/container_config.go +++ b/libpod/container_config.go @@ -165,6 +165,10 @@ type ContainerRootFSConfig struct { Volatile bool `json:"volatile,omitempty"` // Passwd allows to user to override podman's passwd/group file setup Passwd *bool `json:"passwd,omitempty"` + // ChrootDirs is an additional set of directories that need to be + // treated as root directories. Standard bind mounts will be mounted + // into paths relative to these directories. + ChrootDirs []string `json:"chroot_directories,omitempty"` } // ContainerSecurityConfig is an embedded sub-config providing security configuration |