summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-06-07 14:32:56 -0400
committerGitHub <noreply@github.com>2022-06-07 14:32:56 -0400
commit96578a26c343aac0f7dfbbf16d9da509cded9ff3 (patch)
treed6c12e59e15a6a93ae7fc3b7d87f4981d6cfab2a
parent3274496a603426968a297b7042a44f471ceb3b57 (diff)
parentdc4a01ec61f0be2d0d6a81857793c29949f5f498 (diff)
downloadpodman-96578a26c343aac0f7dfbbf16d9da509cded9ff3.tar.gz
podman-96578a26c343aac0f7dfbbf16d9da509cded9ff3.tar.bz2
podman-96578a26c343aac0f7dfbbf16d9da509cded9ff3.zip
Merge pull request #14479 from ibotty/patch-1
[CI:DOCS] Add docs of changing default netavark networks
-rw-r--r--docs/tutorials/basic_networking.md16
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