From d9d6b5922aa9446b51fc534c140221fec79b4deb Mon Sep 17 00:00:00 2001 From: Einar Forselv Date: Sat, 13 Apr 2019 20:19:49 +0200 Subject: [PATCH] Use tmp path for docker socket file by default --- restic-backup/containers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restic-backup/containers.py b/restic-backup/containers.py index 050dc4e..4d869f5 100644 --- a/restic-backup/containers.py +++ b/restic-backup/containers.py @@ -2,7 +2,7 @@ import os import docker import json -DOCKER_BASE_URL = os.environ.get('DOCKER_BASE_URL') or "unix://var/run/docker.sock" +DOCKER_BASE_URL = os.environ.get('DOCKER_BASE_URL') or "unix://tmp/docker.sock" VOLUME_TYPE_BIND = "bind" VOLUME_TYPE_VOLUME = "volume"