How to manage Docker over SSH: contexts, logs, Compose and cleanup
Three ways to manage Docker over SSH You do not need to expose the Docker API to work with containers on a server. SSH is already there, and it is enough. Run commands on the server : ssh user@server docker ps . Nothing to set up.