/lib/systemd/system/docker-registry.service is in docker-registry 2.6.2~ds1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | [Unit]
Description=the Docker toolset to pack, ship, store, and deliver content
After=network.target
[Service]
User=docker-registry
ExecStart=/usr/bin/docker-registry serve /etc/docker/registry/config.yml
[Install]
WantedBy=multi-user.target
|