1.執行了這個指令 docker run ubuntu echo 'hello world'
界面提示unable to find image 'ubuntu:latest' locally
然後就無線停在了waiting界面。
解決方法如下:
由于docker伺服器在國外,國内操作速度極慢,這時要更改docker設定,添加阿裡雲鏡像加速器
vim /etc/docker/daemon.json
{
"registry-mirrors": ["https://alzgoonw.mirror.aliyuncs.com"]
}