Docker Community Forums

Share and learn in the Docker community.

Why there is the need to have Docker installed locally to run a docker-compose.yml on a remote?

I cannot even build images locally since my laptop is x86_64 and the server is arm64. Why the need to install Docker and stuff locally?

You can SSH into a server and run docker compose there without having Docker installed locally.

yes but if I have a repo locally and I am editing files locally, I should everytime copy all the stuff there and then run. Isn’t there a tool to automate this? i could always write a script or use Gradle. At the moment I am using IntelliJ idea plugin but it wants docker and docker compose locally.