1podman-network-prune(1)()                            podman-network-prune(1)()
2
3
4

NAME

6       podman-network-prune - Remove all unused networks
7
8

SYNOPSIS

10       podman network prune [options]
11
12

DESCRIPTION

14       Remove  all unused networks.  An unused network is defined by a network
15       which has no containers connected or configured to connect  to  it.  It
16       will not remove the so-called default network which goes by the name of
17       podman.
18
19

OPTIONS

21   --force, -f
22       Do not prompt for confirmation
23
24
25   --filter
26       Filter output based on conditions given.  Multiple filters can be given
27       with  multiple  uses of the --filter option.  Filters with the same key
28       work inclusive with the only exception being label which is  exclusive.
29       Filters with different keys always work exclusive.
30
31
32       Valid filters are listed below:
33
34
35       ┌───────┬────────────────────────────┐
36Filter Description                
37       ├───────┼────────────────────────────┤
38       │label  │ [Key] or [Key=Value] Label │
39       │       │ assigned to a network      │
40       ├───────┼────────────────────────────┤
41       │until  │ only remove networks  cre‐ │
42       │       │ ated  before  given  time‐ │
43       │       │ stamp                      │
44       ├───────┼────────────────────────────┤
45       │       │                            │
46       └───────┴────────────────────────────┘
47

EXAMPLE

49       Prune networks
50
51
52              podman network prune
53
54
55

SEE ALSO

57       podman(1), podman-network(1), podman-network-remove(1)
58
59

HISTORY

61       February 2021, Originally compiled  by  Brent  Baude  bbaude@redhat.com
62       ⟨mailto:bbaude@redhat.com⟩
63
64
65
66                                                     podman-network-prune(1)()
Impressum