2
0

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 1 year has passed since last update.

docker registry

Posted at

レジストリ作成

docker run -d -p 5000:5000 registry

レジストリ登録,レジストリを利用するための設定

/etc/docker/daemon.json
{
  "insecure-registries" : ["<レジストリを作成した端末のIP>:5000"]
}

Docker プライベートレジストリからイメージ一覧情報を取得

イメージ一覧を取得

curl http://<my-registry>/v2/_catalog

イメージのタグを確認

curl http://<my-registry>/v2/<my-image>/tags/list

レジストリ活用
https://www.itmedia.co.jp/enterprise/articles/1708/25/news014.h

docker tag ubuntu:16.04 <レジストリを作成した端末のIP>:5000/ubuntu:16.04
docker push <レジストリを作成した端末のIP>:5000/ubuntu:16.04
docker pull <レジストリを作成した端末のIP>:5000/ubuntu:16.04
2
0
1

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
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?