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

# dockerStopContainer

> Stop a Docker container. This operation uses Docker CLI, it requires the docker executable to be on the path of the docker endpoint. Target Properties

Stop a Docker container. 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 stop.</td></tr><tr><td>Kill Container</td><td>`FDDKR_INP_KILL`</td><td>No</td><td>Whether or not to kill the container.</td></tr><tr><td>Continue on Error</td><td>`FDDKR_INP_CONTINUE_ON_ERROR`</td><td>No</td><td>Optionally do not fail the workflow if the operation fails.</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 stop command.</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.
