Merge pull request #6625 from QiWang19/fd

Add --preservefds to podman run
This commit is contained in:
OpenShift Merge Robot
2020-06-23 10:00:21 +02:00
committed by GitHub
13 changed files with 84 additions and 1 deletions

View File

@ -130,6 +130,11 @@ type ContainerBasicConfig struct {
// Remove indicates if the container should be removed once it has been started
// and exits
Remove bool `json:"remove"`
// PreserveFDs is a number of additional file descriptors (in addition
// to 0, 1, 2) that will be passed to the executed process. The total FDs
// passed will be 3 + PreserveFDs.
// set tags as `json:"-"` for not supported remote
PreserveFDs uint `json:"-"`
}
// ContainerStorageConfig contains information on the storage configuration of a