Skip to content

Commit 371211e

Browse files
committed
Merge pull request #14 from bacongobbler/dockerhost
use DOCKER_HOST to connect to remote socket
2 parents 862f94a + f869194 commit 371211e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

logspout.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ func httpStreamer(w http.ResponseWriter, req *http.Request, logstream chan *Log,
128128
func main() {
129129
debugMode = getopt("DEBUG", "") != ""
130130
port := getopt("PORT", "8000")
131-
endpoint := getopt("DOCKER", "unix:///var/run/docker.sock")
131+
endpoint := getopt("DOCKER_HOST", "unix:///var/run/docker.sock")
132132
routespath := getopt("ROUTESPATH", "/var/lib/logspout")
133133

134134
client, err := docker.NewClient(endpoint)

0 commit comments

Comments
 (0)