Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connecting on Linux #78

Open
DroWnThePoor opened this issue May 1, 2017 · 2 comments
Open

Connecting on Linux #78

DroWnThePoor opened this issue May 1, 2017 · 2 comments

Comments

@DroWnThePoor
Copy link

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.

@felixgborrego
Copy link
Owner

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

@DroWnThePoor
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants