summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorGabi Beyer <gabrielle.n.beyer@intel.com>2019-06-12 23:20:49 +0000
committergabi beyer <gabrielle.n.beyer@intel.com>2019-07-30 23:28:52 +0000
commitef8834aeab8df79452709c13ffbd0041e7cf7e81 (patch)
tree3486035f771d7342d2b66ddf58a969becdfbdf36 /libpod
parent680a3838748b297b7c3c462f98b58f82e39218e8 (diff)
downloadpodman-ef8834aeab8df79452709c13ffbd0041e7cf7e81.tar.gz
podman-ef8834aeab8df79452709c13ffbd0041e7cf7e81.tar.bz2
podman-ef8834aeab8df79452709c13ffbd0041e7cf7e81.zip
Add comment to describe postConfigureNetNS
Provide information stating what the postConfigureNetNS option is used for. Signed-off-by: Gabi Beyer <gabrielle.n.beyer@intel.com>
Diffstat (limited to 'libpod')
-rw-r--r--libpod/container.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpod/container.go b/libpod/container.go
index 2d96b1120..9c01d2adf 100644
--- a/libpod/container.go
+++ b/libpod/container.go
@@ -377,6 +377,9 @@ type ContainerConfig struct {
RestartRetries uint `json:"restart_retries,omitempty"`
// TODO log options for log drivers
+ // PostConfigureNetNS needed when a user namespace is created by an OCI runtime
+ // if the network namespace is created before the user namespace it will be
+ // owned by the wrong user namespace.
PostConfigureNetNS bool `json:"postConfigureNetNS"`
// OCIRuntime used to create the container