Skip to content

Instantly share code, notes, and snippets.

View haruyama's full-sized avatar
🌴
On vacation

HARUYAMA Seigo haruyama

🌴
On vacation
View GitHub Profile
@hagix9
hagix9 / gist:7287649
Last active February 23, 2017 20:30
Dockerでプライベートリポジトリを使う
#プライベートリポジトリ用コンテナを起動
docker run -d -p 5000:5000 samalba/docker-registry
#実験のために適当なコンテナを起動
docker run -i -t -d --name cent01 centos /bin/bash
#起動したコンテナをコミットしてタグ付け
docker commit cent01 test1/centos
docker tag test1/centos 192.168.10.60:5000/centos_test