指令用法

docker pull [OPTION] NAME[:TAG|@DIGEST]    
docker image pull [OPTION] NAME[:TAG|@DIGEST]
 

例如

docker pull centos:centos7  #指定版本
docker pull --all-tags centos  #下載所有版本
docker pull centos@sha256:e9ce0b76f29f942502facd849f3e468232492b259b9d9f076f71b392293f1582  #使用DIGEST

 

查看下載印象檔

docker images
docker image ls

arrow
arrow

    痞客興 發表在 痞客邦 留言(0) 人氣()