disconnect_network
Remove a container from a Docker network using its network ID or name and container ID, optionally forcing disconnection.
Instructions
Disconnect a container from a network.
args: network_id - The network id or name container - The container id or name force - Force disconnect returns: bool - True after the container is disconnected
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| container | Yes | ||
| network_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |