Created
December 30, 2016 09:06
-
-
Save m-x-k/38bba7188bbb79931f895c77cfac6fec to your computer and use it in GitHub Desktop.
Debian docker private registry access setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Go to private repository in browser (e.g. https://<PRIVATE_REG>:5000/v2/_catalog) | |
Download the certificate (e.g. View Cerificate > Details > Export (PEM format)) | |
Copy crt certificate to: /usr/local/share/ca-certificates/ | |
sudo update-ca-certificates --verbose | |
systemctl restart docker | |
Confirm it all works by trying to pull down a docker image from the private registry: | |
(e.g. docker pull <PRIVATE_REG>:5000/my/image) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment