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

Unix socket #62

Closed
wants to merge 22 commits into from
Closed

Unix socket #62

wants to merge 22 commits into from

Conversation

lukemarsden
Copy link
Contributor

Fixes #56

@@ -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``.
Copy link
Contributor

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".

@robhaswell
Copy link
Contributor

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.

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

Successfully merging this pull request may close these issues.

Streaming output only happens for -ti flag
4 participants