diff options
author | gunnar <vrms@netcologne.de> | 2022-05-19 12:50:24 +0200 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2022-06-21 16:24:59 -0400 |
commit | 132393d15c0c0c20172ff73670ac41b79d85cb13 (patch) | |
tree | 971b6bff7260077240c58eafc29b548985ca2640 /docs/tutorials | |
parent | 8d17251f8a0574054d7dae4ddeb9484740616348 (diff) | |
download | podman-132393d15c0c0c20172ff73670ac41b79d85cb13.tar.gz podman-132393d15c0c0c20172ff73670ac41b79d85cb13.tar.bz2 podman-132393d15c0c0c20172ff73670ac41b79d85cb13.zip |
Update basic_networking.md
a little enhancement based on the [comment by @TomSweeneyRedHat](https://github.com/containers/podman/pull/14290#pullrequestreview-979316099)
Replaces: https://github.com/containers/podman/pull/14290
Thanks to @vrms
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'docs/tutorials')
-rw-r--r-- | docs/tutorials/basic_networking.md | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/docs/tutorials/basic_networking.md b/docs/tutorials/basic_networking.md index b6f53175b..0a6034e7a 100644 --- a/docs/tutorials/basic_networking.md +++ b/docs/tutorials/basic_networking.md @@ -13,13 +13,14 @@ Each setup is supported with an example. ## Differences between rootful and rootless container networking -One of the guiding factors on networking for containers with Podman is going to be -whether or not the container is run by a root user or not. This is because unprivileged -users cannot create networking interfaces on the host. Therefore, with rootful -containers, the default networking mode is to use netavark. -For rootless, the default network -mode is slirp4netns. Because of the limited privileges, slirp4netns lacks some of -the features of networking; for example, slirp4netns cannot give containers a +One of the guiding factors on networking for containers with Podman is going to +be whether or not the container is run by a root user or not. This is because +unprivileged users cannot create networking interfaces on the host. Therefore, +for rootless containers, the default network mode is slirp4netns. Because of the +limited privileges, slirp4netns lacks some of the features of networking +compared to rootful Podman's networking; for example, slirp4netns cannot give +containers a routable IP address. The default networking mode for rootful +containers on the other side is netavark, which allows a container to have a routable IP address. ## Firewalls |