simple-docker-ui icon indicating copy to clipboard operation
simple-docker-ui copied to clipboard

Connecting on Linux

Open DroWnThePoor opened this issue 8 years ago • 2 comments

The wiki shows using unix:///var/run/docker.sock, but I don't understand the syntax to enter this. I'm using this remotely, obviously, from a Linux laptop. So how should I connect by a direct IP address?

I'm new to Docker, this may be an obvious answer.

DroWnThePoor avatar May 01 '17 16:05 DroWnThePoor

this unix:///var/run/docker.sock syntaxis is for connecting to a local Docker using the socket connection. For your case, you will need to use http://IP:port, and your remote Docker will need to have the "Docker remote API" enabled with that port. Doing something like this

felixgborrego avatar May 03 '17 15:05 felixgborrego

Thank you so much, because I was very confused. I didn't realize it used a separate method for local versus remote, I was about to try to bind the sock to an IP and use TLS lol. Issue solved.

DroWnThePoor avatar May 03 '17 23:05 DroWnThePoor