docker registry fail to start up that prompts file not found which file does exist

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.

  • Pull docker image from AWS ECR using remote API
  • Docker image is not visible through the Remote Docker API
  • Docker mount directory access rights
  • Unable to access Docker Nanoserver container web app
  • create file in shared folder docker container
  • What's a safe minimum disk size for a production Kubernetes node?
  • 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?

  • Integration Tests with Docker and Bitbucket pipelines
  • How to see the logs of running application inside docker container?
  • Can't create Docker network
  • docker stop and remove container
  • Docker for Mac Container to Host Networking - Consul Health Checks Connection Refused
  • Pulling image from local docker registry: download completed, but image not found
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.