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