Skip to content

Commit

Permalink
Merge pull request #10346 from Luap99/network-doc
Browse files Browse the repository at this point in the history
[CI:DOCS] network tutorial: update with rootless cni changes
  • Loading branch information
openshift-merge-robot authored May 16, 2021
2 parents 90a12ac + 460182d commit a6a3df0
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions docs/tutorials/basic_networking.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,16 @@ network, and the one will be created as a bridge network.
$ podman network create
```

When rootless containers are run with a CNI networking configuration, a “side-car”
container for running CNI is also run. Do not remove this container while your rootless
containers are running. if you remove this container (e.g by accident) all attached
containers lose network connectivity. In order to restore the network connectivity
all containers with networks must be restarted. This will automatically recreate
the "side-car" container. For rootfull containers, there is no “side-car” container
When rootless containers are run with a CNI networking configuration, CNI operations
will be executed inside an extra network namespace. To join this namespace, use
`podman unshare --rootless-cni`. Podman version 3.1 and earlier use a special “side-car”
container called rootless-cni-infra. Do not remove this container while your rootless
containers are running. If you remove this container (e.g. by accident), all attached
containers lose network connectivity. In order to restore the network connectivity, all
containers with networks must be restarted. This will automatically recreate the "side-car"
container. When you are using version 3.2 or newer the “side-car” container can be
safely removed. Therefore, it is no longer used.
For rootfull containers, there is no extra namespace or “side-car” container
as rootfull users have the permissions to create and modify network interfaces on
the host.

Expand Down

0 comments on commit a6a3df0

Please sign in to comment.