環境
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.
...