diff options
author | Tobias Florek <me@ibotty.net> | 2022-06-03 15:21:38 +0200 |
---|---|---|
committer | Tobias Florek <tob@butter.sh> | 2022-06-07 19:30:51 +0200 |
commit | dc4a01ec61f0be2d0d6a81857793c29949f5f498 (patch) | |
tree | fd0798811d8d52288cfa1696ffbb9dd0576db4be /docs/tutorials | |
parent | 96f9d0dc0e0dbb796494af573c67e194e60aebcd (diff) | |
download | podman-dc4a01ec61f0be2d0d6a81857793c29949f5f498.tar.gz podman-dc4a01ec61f0be2d0d6a81857793c29949f5f498.tar.bz2 podman-dc4a01ec61f0be2d0d6a81857793c29949f5f498.zip |
Add docs of changing default netavark networks
Signed-off-by: Tobias Florek <tob@butter.sh>
Diffstat (limited to 'docs/tutorials')
-rw-r--r-- | docs/tutorials/basic_networking.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/tutorials/basic_networking.md b/docs/tutorials/basic_networking.md index 396994596..b6f53175b 100644 --- a/docs/tutorials/basic_networking.md +++ b/docs/tutorials/basic_networking.md @@ -93,6 +93,22 @@ When rootless containers are run, network operations will be executed inside an extra network namespace. To join this namespace, use `podman unshare --rootless-netns`. +#### Default Network + +The default network `podman` with netavark is memory-only. It does not support dns resolution because of backwards compatibility with Docker. To change settings, export the in-memory network and change the file. + +For the default rootful network use +``` +podman network inspect podman | jq .[] > /etc/containers/networks/podman.json +``` + +And for the rootless network use + +``` +podman network inspect podman | jq .[] > ~/.local/share/containers/storage/networks/podman.json +``` + + #### Example By default, rootful containers use the netavark for its default network if |