I’m trying to deploy docker registry server.I do it according to the official documentation https://docs.docker.com/registry/deploying/
I have generated certificate and key, and start the registry according to document.
docker run -d -p 5000:5000 --restart=always --name registry
-v pwd/certs:/certs
-e REGISTRY_HTTP_TLS_CERTIFICATE=/certs/domain.crt
-e REGISTRY_HTTP_TLS_KEY=/certs/domain.key
registry:2
When I saw the log,
time=“2016-04-08T01:24:54Z” level=fatal msg=“open /certs/domain.crt: no such file or directory”
But I am pretty sure that the file does exist.
So What’s the problem?