Giter VIP home page Giter VIP logo

Comments (10)

exdrunmeswt avatar exdrunmeswt commented on July 30, 2024

#28616 ×509:

from distribution-library-image.

stevvooe avatar stevvooe commented on July 30, 2024

Looks like the daemon does not trust the registry. Did you add the registry CA to docker certs?

from distribution-library-image.

stevvooe avatar stevvooe commented on July 30, 2024

Also, please open this issue in docker/docker or docker/distribution.

from distribution-library-image.

adriano-fonseca avatar adriano-fonseca commented on July 30, 2024

I had this problem on the past trying run a docker-machine in virtualbox. I figure out that was 'the man of midle' in this case my proxy that signing every single package that it sends to me. Then I just provide the proxy certificate copying my proxy certificate to /var/lib/boot2docker/certs in docker-machine. However, I don't know how do the same To docker swarm. When I try to run swarm. I am having the follow error:

2017/01/18 22:16:21 Post https://discovery.hub.docker.com/v1/clusters: x509: certificate signed by unknown authority

There is a way to past my proxy certificate when I run the swarm node. I have tried to map my local cert with -v /home/docker-host/.docker/:/certs, but this didn't work.

from distribution-library-image.

juanmiguelRuaDev avatar juanmiguelRuaDev commented on July 30, 2024

I have the same problem. I tried to change the certificated name from
/etc/docker/certs.d/registryname:5000/ca.crt to/etc/docker/certs.d/registryname:5000/domain.crt but it didn't work

from distribution-library-image.

rajasec avatar rajasec commented on July 30, 2024

same problem with 16.04.
x509: certificate signed by unknown authority

from distribution-library-image.

FCA69 avatar FCA69 commented on July 30, 2024

Try and add your corp proxy's certificate both at OS and docker level.
Try and setup your "/etc/docker/certs.d//" directory/files (for me it was necessary for "docker search" to work).
You may eventually specify which certificate location dockerd will use by adding a "tlscert" entry in your /etc/docker/daemon.json file. Use the one curl uses.
These 3 points solved the issue for me.

from distribution-library-image.

rajasec avatar rajasec commented on July 30, 2024

Now added the corp proxy certificate in /etc/ssl and /etc/.. pki/anchors/ and it fixed the problem.

from distribution-library-image.

ukreddy-erwin avatar ukreddy-erwin commented on July 30, 2024

Any solution for the same problem in windows 10, Docker for windows??

image

from distribution-library-image.

neerajtiwar avatar neerajtiwar commented on July 30, 2024

Try and add your corp proxy's certificate both at OS and docker level.
Try and setup your "/etc/docker/certs.d//" directory/files (for me it was necessary for "docker search" to work).
You may eventually specify which certificate location dockerd will use by adding a "tlscert" entry in your /etc/docker/daemon.json file. Use the one curl uses.
These 3 points solved the issue for me.

it works!

from distribution-library-image.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.