Comments (10)
#28616 ×509:
from distribution-library-image.
Looks like the daemon does not trust the registry. Did you add the registry CA to docker certs?
from distribution-library-image.
Also, please open this issue in docker/docker or docker/distribution.
from distribution-library-image.
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.
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.
same problem with 16.04.
x509: certificate signed by unknown authority
from distribution-library-image.
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.
Now added the corp proxy certificate in /etc/ssl and /etc/.. pki/anchors/ and it fixed the problem.
from distribution-library-image.
Any solution for the same problem in windows 10, Docker for windows??
from distribution-library-image.
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)
- Docker Registry issue when I use NGINX Reverse Proxy HOT 1
- HTTP 413 HOT 1
- Registry doesn't work with random host port binding
- Run Docker registry in kubernetes using SSL certificates HOT 1
- Retrieving the manifest for an official Docker image (without the library prefix) causes a 500 error instead of a 401 error. HOT 1
- Local registry the layers of push and pull do not match HOT 2
- Pauses for exactly 10 seconds, pushes and pulls incredibly slow HOT 1
- ciphersuites restriction does not prevent TLS_AES_128_GCM_SHA256 from being accepted HOT 1
- Docker registry should take the storage rootdir path from command line parameter rather than from config file HOT 1
- Bad gateway and no logs with minimal traefik setup HOT 1
- The wget binary leaks defunct ssl_client processes HOT 6
- registry: provided digest did not match uploaded content when trying to delete image by tag HOT 2
- Enable dependabot automation for registry container image HOT 1
- Cannot push images from other server HOT 1
- Why 2.8.3 was pushed again today? HOT 3
- There's something wrong with the image HOT 1
- Expose /etc/docker/registry as a volume HOT 4
- Registry image with distroless base HOT 1
- Replicate registry image HOT 3
- Critical CVEs in registry container HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from distribution-library-image.