mirror of
https://github.com/containers/podman.git
synced 2025-06-02 02:26:52 +08:00

this enables the ability to connect and disconnect a container from a given network. it is only for the compatibility layer. some code had to be refactored to avoid circular imports. additionally, tests are being deferred temporarily due to some incompatibility/bug in either docker-py or our stack. Signed-off-by: baude <bbaude@redhat.com>
30 lines
597 B
Markdown
30 lines
597 B
Markdown
% podman-network-disconnect(1)
|
|
|
|
## NAME
|
|
podman\-network\-disconnect - Disconnect a container from a network
|
|
|
|
## SYNOPSIS
|
|
**podman network disconnect** [*options*] network container
|
|
|
|
## DESCRIPTION
|
|
Disconnects a container from a network.
|
|
|
|
## OPTIONS
|
|
#### **--force**, **-f**
|
|
|
|
Force the container to disconnect from a network
|
|
|
|
## EXAMPLE
|
|
Disconnect a container named *web* from a network called *test*.
|
|
|
|
```
|
|
podman network disconnect test web
|
|
```
|
|
|
|
|
|
## SEE ALSO
|
|
podman(1), podman-network(1), podman-network-connect(1)
|
|
|
|
## HISTORY
|
|
November 2020, Originally compiled by Brent Baude <bbaude@redhat.com>
|