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

Support for Docker Socket Proxy #107

Closed
tehniemer opened this issue Sep 24, 2020 · 2 comments
Closed

Support for Docker Socket Proxy #107

tehniemer opened this issue Sep 24, 2020 · 2 comments

Comments

@tehniemer
Copy link

I keep access to the docker socket behind a proxy, so mapping /var/run/docker.sock doesn't work for my use case. Instead, all of my containers that need access to the docker socket get access through tcp://socket-proxy:2375 via a specific command or environment variable. I'd like to give this a shot to compare to portainer, but won't be able to until this is supported.

https://github.com/fluencelabs/docker-socket-proxy

@SelfhostedPro
Copy link
Owner

The built in env variable DOCKER_HOST may do what you want. Documentation on it is available here: https://docs.docker.com/engine/reference/commandline/cli/#environment-variables
Not the recommended way to do things but it may work for you for now.

@tehniemer
Copy link
Author

I did not realize that was a built in variable, I've used it in other containers, but I always thought that was container specific. Thanks for the info, that got me going.

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