podman-network-update - Man Page

Update an existing Podman network

Synopsis

podman network update  [options] network

Description

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.

Example

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

See Also

podman(1), podman-network(1), podman-network-inspect(1), podman-network-ls(1)

Referenced By

podman-network(1).

The man page docker-network-update(1) is an alias of podman-network-update(1).