docker-manifest
cannot access /etc/docker/certs.d
when using custom registries
#41386
Projects
docker-manifest
cannot access /etc/docker/certs.d
when using custom registries
#41386
Description
When running
docker manifest
with a custom registry, docker will try to find a certificate for the registry using "/etc/docker/certs.d" If the file, or directory does not exist, that is not a problem. Even not having "/etc/docker" is not a problem. If however,/etc/docker
does exits,t but is not accessible by the user (e.g. 0700),docker manifest
exists with an error:open /etc/docker/certs.d/custom.registry.example.com: permission denied
As the directory is not created by the packager (downstream) but by docker itself during first startup, this appears to be a docker engine problem, where we should at least use 0711 on /etc/docker.
Steps to reproduce the issue:
(not my repo)
Describe the results you received:
open /etc/docker/certs.d/custom.registry.example.com: permission denied
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Checked on 3 distro's, all the same result (using docker from download.docker.org or distro package)
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
physical
The text was updated successfully, but these errors were encountered: