Use sudo with docker

This commit is contained in:
phahulin 2017-07-08 21:31:58 +03:00 committed by GitHub
parent 442f20ae6d
commit 73c883ded9
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ EOF
setup_autoupdate() {
echo "=====> setup_autoupdate"
docker pull oraclesorg/docker-run
sudo docker pull oraclesorg/docker-run
cat > /etc/cron.daily/docker-autoupdate << EOF
#!/bin/sh
outlog="/home/${ADMIN_USERNAME}/logs/docker-autoupdate.out"