Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals

Setup Docker service to use insecure(http) registry instead of https

By default docker use https to connect to docker registry. But there can be use cases to use insecure registry. Here are the steps to use insecure registry.

In ubuntu
edit the file /etc/default/docker and update DOCKER_OPTS e.g

DOCKER_OPTS='--insecure-registry 15.206.81.210:9000'
Code language: JavaScript (javascript)

where 15.206.81.210 is ipaddress of registry and 9000 is your port on which registry is configured.

In Centos
Edit the file /etc/docker/daemon.json e.g.

$ vi /etc/docker/daemon.json

{
"insecure-registries" : ["15.206.81.210:9001"]
}

$ service docker restartCode language: JavaScript (javascript)

where 15.206.81.210 is ipaddress of registry and 9001 is your port on which registry is configured.


Nexus Error

Error response from daemon: Get https://15.206.81.210:8081/v2/: http: server gave HTTP response to HTTPS client
Code language: JavaScript (javascript)

Docker Tutorials Fundamental To Advanced-2021 Crash Course:- https://bit.ly/3hOIbTB

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x