Hallo,

Thanks for your reply. I manually changed the config file as you suggested
and now the service is starting.

Thanks

Op ma 6 jan. 2020 om 06:01 schreef Arnaud Rebillout <
arnaud.rebill...@collabora.com>:

>
> On 1/5/20 9:07 PM, Vincent Smeets wrote:
> > Package: docker-registry
> > Version: 2.7.1+ds2-5
> > Severity: important
> >
> > docker-registry is not starting. I installed docker.io and then
> > docker-registry. docker.io is working normally, but docker-registry
> > isn't started by systemd. The following error is shown in journalctl:
> >
> > panic: unable to configure authorization (htpasswd): failed to open
> htpasswd path open /etc/registry: permission denied
> >
> > The file or directory /etc/registry doesn't exists. I would have
> > expected that this file is created during the installation. I did find
> > the directory /etc/docker/registry. Is there some configuration error
> > that the wrong directory name is specified?
>
>
> Indeed, there was a configuration error, thanks for reporting.
>
> In the file /etc/docker/registry/config.yml, the configuration for auth:
> htpasswd: path: /etc/registry should be /etc/docker/registry
>
> Can you please make this change on your side, and confirm that it fixes
> the issue? I will upload a new package with the fix after your
> confirmation.
>
>
> > Additional point:
> > I didn't find a manual page.
>
>
> I don't think upstream provides a man page, and I don't think they will
> (the maintenance level has been rather low on this repo). But their
> online documentation is quite OK. If you think they should provide a man
> page, maybe try opening an issue on GitHub?
>
>
> Regards,
>
>    Arnaud
>
>

Reply via email to