I have been in DevOps related jobs for past 6 years dealing mainly with Kubernetes in AWS and on-premise as well. I spent quite a lot …
:date_long | 1 min Read
Docker push to remote registry via self signed SSL certificate
- ‘‘CA (Certificate Authority)’’ to your local and copy/paste it to a proper location
download from your server
scp root@vm027.qa.cz....com:/etc/pki/tls/certs/docker-registry-ca.crt .
- Paste it to this location at Windows Machine
C:\ProgramData\docker\certs.d\ca.crt
There is a good chance that folder certs.d does not exist yet ( please create it)
Restart docker at your Windows machine
Tag image by remote server name
docker tag some-docker-image <vm027.qa.cz.company.com>:5000/some-docker-image
- Push it to a remote registry
docker push <vm027.qa.cz.company.com>:5000/some-docker-image