Today I learned how to connect to a remote docker daemon using SSH and key authentication.

DOCKER_HOST=ssh://“ssh://user@remotehost” docker-compose up -d

This can be specified in a context