Skip to content

Build your personal knowledge base with Trilium Notes

docker commands with sudo

azivner14cffbbe6250
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