podman-net...-disconnect(1)

✨ podman-network-disconnect β€” the "it's not you, it's your network" era ✨

okay bestie, so this is the manual page for podman-network-disconnect, hanging out in section 1 of the General Commands Manual. It's giving βœ‚οΈ situationship energy, but for containers and networks. Let's get into it πŸ’…


πŸ¦‹ NAME πŸ¦‹

podman-network-disconnect β€” disconnect a container from a network, fr fr


🌸 SYNOPSIS 🌸

podman network disconnect [options] network container

that's it. that's the whole thing. no cap 🫢


πŸ’– DESCRIPTION πŸ’–

So basically: this command disconnects a container from a network. Iconic. Groundbreaking. Slightly unhinged. ✨

You can point at the network either by name or by ID β€” podman isn't picky, it's flexible like that. πŸ’«

Now here's the part that matters, bestie, so listen up: if all networks get disconnected from the container, then it behaves exactly like a container that was created with --network=none. Which means... no network connectivity. At all. Nothing. A little hermit container living off the grid until you connect a network again. πŸ•οΈ

no internet, no friends, no vibes. just silence. connect a network back and it's back to main character energy πŸ‘‘

πŸŽ€ OPTIONS πŸŽ€

  • --force, -f β€” Force the container to disconnect from a network. Yeah, it's the "I'm doing this whether you like it or not" button. force. πŸ’…

πŸ”₯ EXAMPLE πŸ”₯

Disconnect container from specified network:

podman network disconnect test web

look at that. clean. simple. slay. test is the network, web is the container, and they are no longer speaking. 😭


πŸ‘‘ SEE ALSO πŸ‘‘

go read those too, bestie, they're the supporting cast 🫢


🧚 HISTORY 🧚

November 2020, Originally compiled by Brent Baude bbaude@redhat.com ⟨mailto:bbaude@redhat.com⟩ β€” ty for the lore, king 🫑


okay and that's the page!! it lives down there in the footer as podman-net...-disconnect(1) in the General Commands Manual, so if you ever forget where you are, just scroll to the bottom and vibe check it πŸ’–βœ¨ no thoughts, just podman network disconnect. bye bestie πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from