1.在創建Dockerfile時提示如下:
理论上从 docker hub
拉取镜像时是不需要的登录, 因爲提示
pull access denied for dicker/whalesay, repository does not exist or may require ‘docker login’: denied: requested access to the resource is denied
説明dicker/whalesay, repository does not exis
t反復檢查了下Dockerfile
命令,發現真的寫錯了!正確是:
FROM docker/whalesay:latest
以後遇到先檢查文件是否有誤吧…改正後就正常了