File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff 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 && \
You can’t perform that action at this time.
0 commit comments