1. Create Docker Repository ( hosted )
Create Docker repo with host type and select HTTPS Connector with port 18080
https://www.tamilcloud.com:8443/repository/tamilcloud/
3. Check Docker info [ Using root user account ]
4. Add Repository URL details into Client System host file to make sure the domain URL based docker login
# sudo echo "192.168.1.3 www.tamilcloud.com repo.tamilcloud.com clm.tamilcloud.com nexus.tamilcloud.com" >> /etc/hosts
5. Create Repository name based folder in /etc/docker/certs.d to copy the Docker Root certificate
# sudo mkdir -p /etc/docker/certs.d/www.tamilcloud.com:18079
6. Copy Nexus Root certificate ca.crt to client system /etc/docker/certs.d/www.tamilcloud.com:18079 folder
sudo cp /cert/ca.crt /etc/docker/certs.d/www.tamilcloud.com:18079
7. Docker Login to Repository
8. Push Local image to Docker Private repository
# docker pull mysql:5.7
# docker images
# docker tag 1d7aba917169 www.tamilcloud.com:18079/mysql:5.7
# docker push www.tamilcloud.com:18079/mysql:5.7
9. Verify image in private docker repository
No comments:
Post a Comment