
Stop
Stop a Docker container.
type: "io.kestra.plugin.docker.Stop"Examples
Kill a Docker container
id: docker_stop
namespace: company.team
tasks:
- id: run
type: io.kestra.plugin.docker.Stop
containerId: 8088357a1974
kill: true
Properties
configstringobject
Docker configuration file.
Docker configuration file that can set access credentials to private container registries. Usually located in ~/.docker/config.json.
containerIdstring
The container ID to stop
credentials
Credentials for a private container registry.
The registry authentication.
The auth field is a base64-encoded authentication string of username: password or a token.
The identity token.
The registry password.
The registry URL.
If not defined, the registry will be extracted from the image name.
The registry token.
The registry username.
deletebooleanstring
trueRemoves the container after stopping it
hoststring
The URI of your Docker host e.g. localhost
killbooleanstring
falseUse a kill or a stop command