FerryDocs
Getting startedInstallation

How ferryd finds Docker

ferryd connects to the Docker daemon through DOCKER_HOST, or through the default socket.

Edit on GitHub

DOCKER_HOST. If you set this environment variable, ferryd uses its value.

1 / 3
Where ferryd looks for the Docker daemon

The is the part of that runs the containers. Builds run the docker CLI on the same daemon.

The forms of DOCKER_HOST

DOCKER_HOST formSupported
unix:///path/to/docker.sockYes
tcp://host:port, http://host:portYes, plain TCP only
TLS (DOCKER_TLS_VERIFY, DOCKER_CERT_PATH), ssh://No

Use another Docker context

Before you start ferryd, give it the of that .

Terminal
export DOCKER_HOST=$(docker context inspect --format '{{.Endpoints.docker.Host}}')

The daemon must be on the same machine

Ferry reaches your containers through the ports that they publish on 127.0.0.1. The daemon must run on the machine of ferryd, or forward these ports to it. Docker Desktop, Colima and OrbStack forward them.

On this page