Skip to content

Instantly share code, notes, and snippets.

View darkopetrovic's full-sized avatar

Darko Petrovic darkopetrovic

  • HES-SO//Vs
  • Sion, Switzerland
View GitHub Profile
@kekru
kekru / Docker connect to remote server.md
Last active March 21, 2025 01:29
Connect to another host with your docker client, without modifying your local Docker installation

Run commands on remote Docker host

This is how to connect to another host with your docker client, without modifying your local Docker installation or when you don't have a local Docker installation.

Enable Docker Remote API

First be sure to enable the Docker Remote API on the remote host.

This can easily be done with a container.
For HTTP connection use jarkt/docker-remote-api.