dockerDisconnectNetwork
Disconnects a Docker container from a network. This operation uses Docker CLI, it requires the docker executable to be on the path of the docker endpoint.
Target Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Docker Unix Socket |
| No | The socket the Docker daemon listens on. Required if Docker Server and Docker Port are not set. Default value is [/var/run/docker.sock] |
Docker Server Address |
| Yes | The IP address of the Docker server. |
Docker Port |
| Yes | The port the Docker service is listening on. |
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
Container ID |
| Yes | The ID of the container to disconnect from a network. |
Network ID |
| Yes | The ID of the network to disconnect. |
Additional Options |
| No | Add any additional options, which will be concatenated to the network disconnect command. e.g. --force |
Artifacts
This operation does not produce or consume artifacts.
Endpoint Selection
This operation will select all available endpoints associated to the target.
Endpoint Execution
This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
- style