meta-virtualization/recipes-containers/docker-distribution/files/docker-registry.service
Bruce Ashfield 5c501c8ec8 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>
2017-03-12 00:32:33 -05:00

11 lines
209 B
Desktop File

[Unit]
Description=v2 Registry server for Docker
[Service]
Type=simple
ExecStart=/usr/sbin/registry serve /etc/docker-distribution/registry/config.yml
Restart=on-failure
[Install]
WantedBy=multi-user.target