Docker镜像需要注意的地方

  1. 不使用 latest
  2. 使用 namespace

示例

docker push/pull  docker.admaster.com/{namespace}/{repo_name}:{tag}  
  • {namespace} is the Docker namespace you have applied. (Default: library).

  • {repo_name} – the name for the repo

  • {tag}: The Docker tag (Default: latest)

# docker tag 88f9454e60dd docker.admaster.com:/admaster/centos:7
 # docker push  docker.admaster.com:/admaster/centos:7