diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 32cb549df..d75cc7885 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -229,6 +229,7 @@ jobs: docker run -ti --rm --pull=always \\ --volume /var/run/docker.sock:/var/run/docker.sock \\ + --volume \$HOME/.docker:/root/.docker \\ --volume /opt/Internet.nl:/opt/Internet.nl \\ --network none \\ --env DOCKER_REGISTRY=${{ env.DOCKER_REGISTRY }} \\ diff --git a/docker/cron-docker/periodic/15min/auto_update b/docker/cron-docker/periodic/15min/auto_update index 3ab41418c..ab6f23550 100755 --- a/docker/cron-docker/periodic/15min/auto_update +++ b/docker/cron-docker/periodic/15min/auto_update @@ -31,6 +31,7 @@ echo "Updating to: $UPSTREAM_RELEASE" # as the initiator (cron-docker) will be killed during the deploy process docker run --pull=always --network none \ --volume /var/run/docker.sock:/var/run/docker.sock \ + --volume $HOME/.docker:/root/.docker \ --volume /opt/Internet.nl:/opt/Internet.nl \ --env "DOCKER_REGISTRY=$DOCKER_REGISTRY" \ "$DOCKER_REGISTRY/util:$UPSTREAM_RELEASE" \ diff --git a/documentation/Docker-deployment-batch.md b/documentation/Docker-deployment-batch.md index 2d55b9a4d..b7266e32e 100644 --- a/documentation/Docker-deployment-batch.md +++ b/documentation/Docker-deployment-batch.md @@ -116,6 +116,7 @@ After configuration, spin up the instance: docker run -ti --rm --pull=always \ --volume /var/run/docker.sock:/var/run/docker.sock \ + --volume $HOME/.docker:/root/.docker \ --volume /opt/Internet.nl:/opt/Internet.nl \ --network none \ --env DOCKER_REGISTRY=ghcr.io/internetstandards \ diff --git a/documentation/Docker-deployment.md b/documentation/Docker-deployment.md index 0762e199d..14e74083f 100644 --- a/documentation/Docker-deployment.md +++ b/documentation/Docker-deployment.md @@ -154,6 +154,7 @@ Spin up instance: docker run -ti --rm --pull=always \ --volume /var/run/docker.sock:/var/run/docker.sock \ + --volume $HOME/.docker:/root/.docker \ --volume /opt/Internet.nl:/opt/Internet.nl \ --network none \ --env DOCKER_REGISTRY=ghcr.io/internetstandards \ @@ -249,6 +250,7 @@ To update the application stack to the latest release run the following command, docker run -ti --rm --pull=always --network none \ --volume /var/run/docker.sock:/var/run/docker.sock \ + --volume $HOME/.docker:/root/.docker \ --volume /opt/Internet.nl:/opt/Internet.nl \ --env DOCKER_REGISTRY=ghcr.io/internetstandards \ ghcr.io/internetstandards/util:latest \ @@ -260,6 +262,7 @@ If you want to update to a specific tagged version release, e.g. `1.8.8`, use th docker run -ti --rm --pull=always --network none \ --volume /var/run/docker.sock:/var/run/docker.sock \ + --volume $HOME/.docker:/root/.docker \ --volume /opt/Internet.nl:/opt/Internet.nl \ --env DOCKER_REGISTRY=ghcr.io/internetstandards \ ghcr.io/internetstandards/util:1.8.8 \ @@ -297,6 +300,7 @@ In essence downgrading is the same procedure as upgrading. For example, to roll docker run -ti --rm --pull=always \ --volume /var/run/docker.sock:/var/run/docker.sock \ + --volume $HOME/.docker:/root/.docker \ --volume /opt/Internet.nl:/opt/Internet.nl \ --network none \ --env DOCKER_REGISTRY=ghcr.io/internetstandards \