本文记录一下在Centos7.3操作系统上,基于Harbor来搭建docker registry。当前环境为:

# cat /etc/centos-release
CentOS Linux release 7.3.1611 (Core) 

[Step 0]: checking installation environment ...
[Step 1]: loading Harbor images ...
[Step 2]: preparing environment ...
[Step 3]: checking existing instance of Harbor ...
[Step 4]: starting Harbor ...

Read More

docker可以通过读取Dockerfile中的指令来自动构建镜像。一个Dockerfile就是一个文本文档,其中包含了编译一个镜像的所有命,然后调用docker build来创建出相应的镜像。

Read More

本节我们介绍一下docker registry HTTP API V2,然后给出几个调用API的实例。在这里为了方便,我们首先dump下docker的官方文档:

# docker pull docs/docker.github.io:latest
# docker run -itd -p 80:4000 docs/docker.github.io:latest

Read More