1podman-network(1) General Commands Manual podman-network(1)
2
3
4
6 podman-network - Manage Podman networks
7
8
10 podman network subcommand
11
12
14 The network command manages networks for Podman.
15
16
17 Podman supports two network backends Netavark and CNI. Support for ne‐
18 tavark was added in Podman v4.0. To configure the network backend use
19 the network_backendkey under the [Network] in containers.conf(5). New
20 systems should use netavark by default, to check what backed is used
21 run podman info --format {{.Host.NetworkBackend}}.
22
23
24 All network commands work for both backends but CNI and Netavark use
25 different config files so networks have to be created again after a
26 backend change.
27
28
30 ┌───────────┬──────────────────────────────┬───────────────────────────────┐
31 │Command │ Man Page │ Description │
32 ├───────────┼──────────────────────────────┼───────────────────────────────┤
33 │connect │ podman-network-connect(1) │ Connect a container to a net‐ │
34 │ │ │ work │
35 ├───────────┼──────────────────────────────┼───────────────────────────────┤
36 │create │ podman-network-create(1) │ Create a Podman network │
37 ├───────────┼──────────────────────────────┼───────────────────────────────┤
38 │disconnect │ podman-network-disconnect(1) │ Disconnect a container from a │
39 │ │ │ network │
40 ├───────────┼──────────────────────────────┼───────────────────────────────┤
41 │exists │ podman-network-exists(1) │ Check if the given network │
42 │ │ │ exists │
43 ├───────────┼──────────────────────────────┼───────────────────────────────┤
44 │inspect │ podman-network-inspect(1) │ Displays the network configu‐ │
45 │ │ │ ration for one or more net‐ │
46 │ │ │ works │
47 ├───────────┼──────────────────────────────┼───────────────────────────────┤
48 │ls │ podman-network-ls(1) │ Display a summary of networks │
49 ├───────────┼──────────────────────────────┼───────────────────────────────┤
50 │prune │ podman-network-prune(1) │ Remove all unused networks │
51 ├───────────┼──────────────────────────────┼───────────────────────────────┤
52 │reload │ podman-network-reload(1) │ Reload network configuration │
53 │ │ │ for containers │
54 ├───────────┼──────────────────────────────┼───────────────────────────────┤
55 │rm │ podman-network-rm(1) │ Remove one or more networks │
56 └───────────┴──────────────────────────────┴───────────────────────────────┘
57
59 podman(1), containers.conf(5)
60
61
62
63 podman-network(1)