> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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 endpo

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

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Docker Unix Socket</td><td>`FDDKR_UNIX_SOCKET`</td><td>No</td><td>The socket the Docker daemon listens on. Required if Docker Server and Docker Port are not set. Default value is \[/var/run/docker.sock]</td></tr><tr><td>Docker Server Address</td><td>`FDDKR_DOCKER_SERVER`</td><td>Yes</td><td>The IP address of the Docker server.</td></tr><tr><td>Docker Port</td><td>`FDDKR_DOCKER_PORT`</td><td>Yes</td><td>The port the Docker service is listening on.</td></tr></tbody></table>

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Container ID</td><td>`FDDKR_INP_CONTAINER_ID`</td><td>Yes</td><td>The ID of the container to disconnect from a network.</td></tr><tr><td>Network ID</td><td>`FDDKR_INP_NETWORK_ID`</td><td>Yes</td><td>The ID of the network to disconnect.</td></tr><tr><td>Additional Options</td><td>`FDDKR_INP_ADDITIONAL_PARAMS`</td><td>No</td><td>Add any additional options, which will be concatenated to the network disconnect command. e.g. --force</td></tr></tbody></table>

# 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.
