podman-network-update(1)

πŸ“¦
version 6.1.4 Β· 3 versions
, in alpine 3.24, arch rolling, centos-stream 10, centos-stream 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu resolute, ubuntu stonking

πŸ’– podman-network-update(1) β€” General Commands Manual πŸ’–

okay bestie, so this is the page for podman-network-update, and yes it's exactly what it sounds like: you get to update a Podman network that already exists. no cap. πŸ¦‹


✨ NAME ✨

podman-network-update β€” Update an existing Podman network


🌸 SYNOPSIS 🌸

podman network update  [options] network

πŸ’… DESCRIPTION πŸ’…

So here's the vibe: this command lets you make changes to container networks that already exist. That's the whole point. And rn β€” literally right now β€” the only thing you can change is the DNS servers that a network is using. That's it. That's the tea. β˜•

NOTE: this is only supported with the netavark network backend. like, if you're not on netavark, this is not your moment, bestie. πŸ’€

πŸŽ€ OPTIONS πŸŽ€

  • --dns-add β€” takes an array of DNS resolvers and adds them to the existing list of resolvers already configured for a network. adding, not replacing. got it? 🫢
  • --dns-drop β€” takes an array of DNS resolvers and removes them from the existing list of resolvers configured for a network. bye bye resolvers πŸ‘‹

🌈 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 how you can do both at once? the way that --dns-drop and --dns-add just coexist in one command... iconic honestly. ✨


⭐ SEE ALSO ⭐

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


and that's the whole page, bestie!! πŸŽ€ sending u off with love from the podman-network-update(1) manual page itself β€” yep, this very page, the one you just read, no notes. go forth and update ur networks. periodt. πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from