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

I have generated certificate and key, and start the registry according to document.

  • AOT Compiler to Shrink Docker Container
  • How can I identify why my replica's are not starting in the swarm?
  • How to copy a file from host to Docker Container?
  • docker login behind proxy on private registry gives TLS handshake timeout
  • How to change the default docker registry from to my private registry
  • --add-host failed within play application docker container
  • 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

    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?

  • Starting Postgres in Docker Container
  • docker-compose: redis connection refused between containers
  • Secure Admin must be enabled to access the DAS remotely - Acess Glassfish Admin Console with Docker
  • NetfilterQueue not working in a docker container
  • docker mapping volume directory not showing up [closed]
  • Error while cleaning images from docker
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.