1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-04 07:11:49 +00:00

docs(podman_container): improve comments on network property

Signed-off-by: vkhashimoto <me@vkhashimoto.dev>
This commit is contained in:
vkhashimoto 2024-11-24 14:12:35 -03:00
parent 1282fc576a
commit 1ae8a1c696
No known key found for this signature in database
GPG key ID: DBF023B2C59CD990

View file

@ -736,15 +736,15 @@ options:
- mounts
network:
description:
- Set the Network mode for the container
* bridge create a network stack on the default bridge
* none no networking
* container:<name|id> reuse another container's network stack
* host use the podman host network stack.
* <network-name>|<network-id> connect to a user-defined network
* ns:<path> path to a network namespace to join
* slirp4netns use slirp4netns to create a user network stack.
This is the default for rootless containers
- Set the Network mode for the container.
- I(bridge) - create a network stack on the default bridge.
- I(none) - no networking.
- I(container:<name|id>) - reuse another container's network stack.
- I(host) - use the podman host network stack.
- I(<network-name>|<network-id>) - connect to a user-defined network.
- I(ns:<path>) - path to a network namespace to join.
- I(slirp4netns) - use slirp4netns to create a user network stack.
This is the default for rootless containers.
type: list
elements: str
aliases: