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

Default true

Removes the container after stopping it

The URI of your Docker host e.g. localhost

Default false

Use a kill or a stop command

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.