aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCharlie Doern <cdoern@redhat.com>2022-07-25 10:21:14 -0400
committerCharlie Doern <cdoern@redhat.com>2022-07-25 13:11:06 -0400
commit27679d80b897b80c10553db0e2048a19ca17737d (patch)
tree5346804c8d07150eec7c67e14ceba1e2186830d2 /docs
parentda1f47921685f40f1b26405278cbf9cb2d06fe09 (diff)
downloadpodman-27679d80b897b80c10553db0e2048a19ca17737d.tar.gz
podman-27679d80b897b80c10553db0e2048a19ca17737d.tar.bz2
podman-27679d80b897b80c10553db0e2048a19ca17737d.zip
pod create --share none should not create infra
for podman pod create, when we are not sharing any namespaces there is no point for the infra container. This is especially true since resources have also been decoupled from the container recently. handle this on the cmd level so that we can still create infra if set explicitly resolves #15048 Signed-off-by: Charlie Doern <cdoern@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/source/markdown/podman-pod-create.1.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/source/markdown/podman-pod-create.1.md b/docs/source/markdown/podman-pod-create.1.md
index 6ed66c599..7b63ac51d 100644
--- a/docs/source/markdown/podman-pod-create.1.md
+++ b/docs/source/markdown/podman-pod-create.1.md
@@ -373,7 +373,7 @@ Note: Labeling can be disabled for all containers by setting label=false in the
#### **--share**=*namespace*
-A comma-separated list of kernel namespaces to share. If none or "" is specified, no namespaces will be shared. The namespaces to choose from are cgroup, ipc, net, pid, uts. If the option is prefixed with a "+" then the namespace is appended to the default list, otherwise it replaces the default list. Defaults matches Kubernetes default (ipc, net, uts)
+A comma-separated list of kernel namespaces to share. If none or "" is specified, no namespaces will be shared and the infra container will not be created unless expiclity specified via **--infra=true**. The namespaces to choose from are cgroup, ipc, net, pid, uts. If the option is prefixed with a "+" then the namespace is appended to the default list, otherwise it replaces the default list. Defaults matches Kubernetes default (ipc, net, uts)
#### **--share-parent**