You need a dedicated Linux machine (linux-vm
) (in the cloud or on your VPS, or bare-metal) with Docker installed and SSH enabled (required login using SSH keys).
Install go (pre-compiled binaries at https://golang.org/dl/
(Edit: there are no Darwin arm64 yet, You need to compile or use Homebrew...)
go get -u -v github.com/docker/cli/cmd/docker
with:
docker context create linux-vm --docker host=ssh://user@host
docker context use linux-vm
export DOCKER_HOST=ssh://user@host