Added DOCKER_SOCK env variable here.

This commit is contained in:
Luckydonald
2017-11-23 18:48:51 +01:00
committed by GitHub
parent 7b218d4ebc
commit f01d3baab7
+2 -1
View File
@@ -22,6 +22,7 @@ Note: You must apply `HEALTHCHECK` to your docker images first. See https://docs
```
AUTOHEAL_CONTAINER_LABEL=autoheal
AUTOHEAL_INTERVAL=5
DOCKER_SOCK=/var/run/docker.sock
```
## Testing
@@ -30,6 +31,6 @@ docker build -t autoheal .
docker run -d \
-e AUTOHEAL_CONTAINER_LABEL=all \
-v /var/run/docker.sock:/tmp/docker.sock \
-v /var/run/docker.sock:/var/run/docker.sock \
autoheal
```