3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

プライベートDocker-Registryにhttpで接続 [Docker-Toolbox Windows]

Last updated at Posted at 2016-10-25

##対象のプライベートDocker-Registry

my-docker-registry:5000
とした場合

##Linuxの場合

/etc/sysconfig/docker
INSECURE_REGISTRY='--insecure-registry my-docker-registry:5000'

##Docker-Toolbox Windowsの場合

例)DockerToolbox-1.12.2.exe

C:\Program Files\Docker Toolbox\start.sh
の60行目に --engine-insecure-registry my-docker-registry:5000 を追加する。

start.sh
  "${DOCKER_MACHINE}" create --engine-insecure-registry my-docker-registry:5000 -d virtualbox $PROXY_ENV "${VM}"

※既にViertualBoxにdefaultという名前のdocker-machineがある場合

  1. Virtualboxで停止→削除
  2. docker-quickstart.jpgを再びダブルクリック

これで --engine-insecure-registry 指定した、docker-machineが作り直される。

3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?