summaryrefslogtreecommitdiffstats
path: root/recipes-containers/docker-distribution/files/docker-registry.service
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2017-03-11 23:37:36 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2017-03-12 00:32:33 -0500
commit5c501c8ec8812fbf8027bc9f46ed635ff15d96e6 (patch)
tree7679281e5b6c6cdf6625d7fd7385b740737a9730 /recipes-containers/docker-distribution/files/docker-registry.service
parentc5cd21af5f27309c7926b781852e1ef22940a10d (diff)
downloadmeta-virtualization-5c501c8ec8812fbf8027bc9f46ed635ff15d96e6.tar.gz
docker-registry: provide via docker-distribution
Follow the bouncing docker-registry package. Rather than use the docker hub registry container, we can have finer grained control if we clone and build the docker-distribution repository directly. Since this is distinct from the main docker package/codebase, we break the registry back out into its own package. We also create a baseline configuration and .service file that can be the basis for more complex implementations. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-containers/docker-distribution/files/docker-registry.service')
-rw-r--r--recipes-containers/docker-distribution/files/docker-registry.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes-containers/docker-distribution/files/docker-registry.service b/recipes-containers/docker-distribution/files/docker-registry.service
new file mode 100644
index 00000000..15460c7a
--- /dev/null
+++ b/recipes-containers/docker-distribution/files/docker-registry.service
@@ -0,0 +1,10 @@
1[Unit]
2Description=v2 Registry server for Docker
3
4[Service]
5Type=simple
6ExecStart=/usr/sbin/registry serve /etc/docker-distribution/registry/config.yml
7Restart=on-failure
8
9[Install]
10WantedBy=multi-user.target