podman-network-update1
Update an existing podman network
Usage
podman network
update
[options]
network
Overview
Allow changes to existing container networks. At present, only changes to the DNS servers in use by a network is supported.
NOTE: Only supported with the netavark network backend.
Options
--dns-add
Accepts array of DNS resolvers and add it to the existing list of resolvers configured for a network.
--dns-drop
Accepts array of DNS resolvers and removes them from the existing list of resolvers configured for a network.
Examples
Update a network:
$ podman network update network1 --dns-add 8.8.8.8,1.1.1.1
Update a network and add/remove dns servers:
$ podman network update network1 --dns-drop 8.8.8.8 --dns-add 3.3.3.3
Releases
2 releases since Debian 13 (Trixie); the text changed 1 time.