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.

  • Automate adding new Node Exporters to the targets array of prometheus.yml
  • Docker port mapping not working
  • Does a docker container launched from Docker-in-Docker container inherit orphan/zombie reaping from the docker-in-docker container?
  • How can I restart docker service using puppet…?
  • Docker java .jar won't run
  • Docker updating image along when dockerfile changes
  • 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?

  • docker updates AWS ELB ports
  • libcontainer vs Docker vs OCF vs runc?
  • What is the purpose of adding docker repository key to apt-key?
  • Keeping PostgreSQL data in docker and OSX
  • Docker: how to fix “Layer already being pulled by another client. Waiting”
  • asp-net 1.0, Docker and Kubernetes
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.