Configure the Docker Engine API for ddlctl

Certain ddlctl operations require access to the Docker Engine API.

Docker Engine and Docker Desktop

  1. Verify that you have Docker installed and running.

  2. Make sure you can access the Docker daemon:

    docker info

    If the Server: section does not return an error, Docker is working and ddlctl will function correctly.

Important
Newer versions of Docker Desktop changed a default setting that blocks access to the default Docker socket. Verify that you have enabled Allow the default Docker socket to be used under Docker Desktop’s Advanced Settings before continuing.

Podman

Podman installs the Docker socket in an unconventional place. You can use Podman for ddlctl operations by setting the DOCKER_HOST environment variable as described in the Podman documentation.