Skip to content

Commit 0254f18

Browse files
committed
sudo
1 parent 389096c commit 0254f18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ local-registry: .env ## creates a local docker registry and configure simcore to
664664
sudo echo 127.0.0.1 $(LOCAL_REGISTRY_HOSTNAME) | sudo tee -a /etc/hosts;\
665665
echo done)
666666
@$(if $(shell test -f /etc/docker/daemon.json),, \
667-
touch /etc/docker/daemon.json)
667+
sudo touch /etc/docker/daemon.json)
668668
@$(if $(shell jq -e '.["insecure-registries"]? | index("http://$(LOCAL_REGISTRY_HOSTNAME):5000")? // empty' /etc/docker/daemon.json),,\
669669
echo configuring docker engine to use insecure local registry...; \
670670
jq 'if .["insecure-registries"] | index("http://$(LOCAL_REGISTRY_HOSTNAME):5000") then . else .["insecure-registries"] += ["http://$(LOCAL_REGISTRY_HOSTNAME):5000"] end' /etc/docker/daemon.json > /tmp/daemon.json &&\

0 commit comments

Comments
 (0)