Skip to content

Commit

Permalink
Use /var/run for unix domain socket
Browse files Browse the repository at this point in the history
  • Loading branch information
bungoume committed Jan 4, 2016
1 parent 27d0e82 commit c4763e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ EXPOSE 10514/udp
EXPOSE 11514/udp
EXPOSE 12514/udp

ENV DOCKER_HOST unix:///tmp/docker.sock
ENV DOCKER_HOST unix:///var/run/docker.sock
ENV TO_HOST logserver.example.com

CMD ["foreman", "start"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ sudo docker build -t bungoume/log-sender .
set ENV `TO_HOST=<log_aggregator_host>`

```
sudo docker run -e "TO_HOST=logserver.example.com" -v /var/run/docker.sock:/tmp/docker.sock:ro -d bungoume/log-sender
sudo docker run -e "TO_HOST=logserver.example.com" -v /var/run/docker.sock:/var/run/docker.sock:ro -d bungoume/log-sender
```

0 comments on commit c4763e4

Please sign in to comment.