Deepin 安裝 Docker

環境

Deepin 15.11

安裝Docker

sudo apt install docker-ce

給普通用戶權限

sudo usermod -aG docker xxx

設置國內加速器

  • 修改/etc/docker/daemon.json 沒有的話創建一個
{
    "registry-mirrors": [
        "https://alzgoonw.mirror.aliyuncs.com"
    ]
}

測試hello world

docker run hello-world

看到

...
Hello from Docker!
This message shows that your installation appears to be working correctly.
...
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章