StopStop
​StopCertified

Stop a Docker container.

yaml
type: "io.kestra.plugin.docker.Stop"

Kill a Docker container

yaml
id: docker_stop
namespace: company.team

tasks:
  - id: run
    type: io.kestra.plugin.docker.Stop
    containerId: 8088357a1974
    kill: true
Properties

Docker configuration file.

Docker configuration file that can set access credentials to private container registries. Usually located in ~/.docker/config.json.

The container ID to stop

Definitions
authstring

The registry authentication.

The auth field is a base64-encoded authentication string of username: password or a token.

identityTokenstring

The identity token.

passwordstring

The registry password.

registrystring

The registry URL.

If not defined, the registry will be extracted from the image name.

registryTokenstring

The registry token.

usernamestring

The registry username.

Defaulttrue

Removes the container after stopping it

The URI of your Docker host e.g. localhost

Defaultfalse

Use a kill or a stop command