aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-containers/docker/files/docker-registry.service
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-containers/docker/files/docker-registry.service')
-rw-r--r--recipes-containers/docker/files/docker-registry.service19
1 files changed, 0 insertions, 19 deletions
diff --git a/recipes-containers/docker/files/docker-registry.service b/recipes-containers/docker/files/docker-registry.service
deleted file mode 100644
index 7b4bc468..00000000
--- a/recipes-containers/docker/files/docker-registry.service
+++ /dev/null
@@ -1,19 +0,0 @@
-[Unit]
-Description=docker private registry service
-After=docker.service
-
-[Service]
-ExecStartPre=-/usr/bin/docker kill registry
-ExecStartPre=-/usr/bin/docker rm registry
-ExecStart=/usr/bin/docker run --name registry -v /mirror/registry:/tmp/ -p 5000:5000 \
- -e "STANDALONE=true" \
- -e "MIRROR_SOURCE=https://registry-1.docker.io" \
- -e "MIRROR_SOURCE_INDEX=https://index.docker.io" \
- -e "SETTINGS_FLAVOR=local" \
- registry
-ExecStop=-/usr/bin/docker stop registry
-Restart=always
-RestartSec=10s
-
-[Install]
-WantedBy=multi-user.target