diff options
| author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-03-11 23:37:36 -0500 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-03-12 00:32:33 -0500 |
| commit | 5c501c8ec8812fbf8027bc9f46ed635ff15d96e6 (patch) | |
| tree | 7679281e5b6c6cdf6625d7fd7385b740737a9730 /recipes-containers/docker-distribution/files/docker-registry.service | |
| parent | c5cd21af5f27309c7926b781852e1ef22940a10d (diff) | |
| download | meta-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.service | 10 |
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] | ||
| 2 | Description=v2 Registry server for Docker | ||
| 3 | |||
| 4 | [Service] | ||
| 5 | Type=simple | ||
| 6 | ExecStart=/usr/sbin/registry serve /etc/docker-distribution/registry/config.yml | ||
| 7 | Restart=on-failure | ||
| 8 | |||
| 9 | [Install] | ||
| 10 | WantedBy=multi-user.target | ||
