-
Notifications
You must be signed in to change notification settings - Fork 32
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
Unix socket #62
Unix socket #62
Conversation
@@ -67,11 +67,17 @@ Try it out | |||
|
|||
Powerstrip ships as a Docker image, and adapters can be any HTTP endpoint, including other linked Docker containers. | |||
|
|||
Powerstrip expects Docker to have been reconfigured to listen on ``/var/run/docker.real.sock``, and to have ``/var/run`` on the host bind-mounted in at ``/host-var-run``. | |||
|
|||
Reconfigure Docker in this way: for example on Ubuntu edit ``/etc/default/docker`` with ``DOCKER_OPTS="-H unix:///var/run/docker.real.sock"`` and then run ``sudo service docker restart``. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would link to https://docs.docker.com/articles/basics/#bind-docker-to-another-hostport-or-a-unix-socket and then state "on Ubuntu, the default Docker options are found in /etc/default/docker".
Looks like it might work, have you tested it and/or is it covered by the integration tests? I can't see how to run them. |
…ge the section discussing the /var/run volume
…erProtocolFactory
Fixes #56