From 14cffbbe625036d7284056f6a37a5e748e397148 Mon Sep 17 00:00:00 2001 From: azivner Date: Mon, 9 Jul 2018 21:21:28 +0200 Subject: [PATCH] docker commands with sudo --- bin/build-docker.sh | 2 +- bin/push-docker-image.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/build-docker.sh b/bin/build-docker.sh index 072286b29b..06b2375e32 100755 --- a/bin/build-docker.sh +++ b/bin/build-docker.sh @@ -5,4 +5,4 @@ if [[ $# -eq 0 ]] ; then exit 1 fi -docker build -t zadam/trilium:latest -t zadam/trilium:$1 . \ No newline at end of file +sudo docker build -t zadam/trilium:latest -t zadam/trilium:$1 . \ No newline at end of file diff --git a/bin/push-docker-image.sh b/bin/push-docker-image.sh index d8bf4d593b..83c0dc19ca 100644 --- a/bin/push-docker-image.sh +++ b/bin/push-docker-image.sh @@ -5,5 +5,5 @@ if [[ $# -eq 0 ]] ; then exit 1 fi -docker push zadam/trilium:latest -docker push zadam/trilium:$1 \ No newline at end of file +sudo docker push zadam/trilium:latest +sudo docker push zadam/trilium:$1 \ No newline at end of file