Docker Pull

Docker Pull

Certified

Pull a Docker image from a registry

Pulls an image/tag using the configured Docker daemon. If registry credentials specify a registry host, it is prepended to the image name.

yaml
type: io.kestra.plugin.docker.cli.Pull

Pull a Docker image

yaml
id: docker_pull
namespace: company.team

tasks:
  - id: pull_alpine
    type: io.kestra.plugin.docker.cli.Pull
    image: alpine:latest
Properties

Image to pull

Image reference with optional tag; registry is prepended when provided via credentials.

Docker configuration file

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

Credentials for a private container registry

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.

The URI of your Docker host e.g. localhost

Reference (ref) of the pluginDefaults to apply to this task.