sudo apt update sudo apt install docker.io
vi /etc/docker/daemon.json { "registry-mirrors": [ "https://hub-mirror.c.163.com" ] }
systemctl daemon-reload
systemctl enable docker systemctl start docker
docker version