Skip to content

Commit

Permalink
docs(podman_container): improve comments on network property
Browse files Browse the repository at this point in the history
Signed-off-by: vkhashimoto <[email protected]>
  • Loading branch information
vkhashimoto committed Nov 24, 2024
1 parent 1282fc5 commit 1ae8a1c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions plugins/modules/podman_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -736,15 +736,15 @@
- 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:
Expand Down

0 comments on commit 1ae8a1c

Please sign in to comment.