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

Does we will remove the container.

The URI of your Docker host e.g. localhost

Default false

Does a kill or a stop command will be used.

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.