본문 바로가기
ops/docker

[docker] local 컴퓨터 비보안 레지스트리 등록하기

by seohan1010 2024. 8. 31.

 

설정의 Docker Engine 탭에서

 

 

1. "insecure-registries":["registry.local:5000"]

을 추가

2. Apply & restart 클릭

 

 

 

docker info 명령어로  registry.local:5001이 정상적으로 등록된것을 확인할수 있다.

 

 

local registry로 이미지 푸쉬 성공

 

 

ps.

 

/etc/hosts의 맨 아래에 위와 같이

127.0.0.1 registry.local 을 추가해 주어서

도메인 명으로 사용할수 있도록 하였다.