Installation

Official Doc: https://docs.docker.com/engine/install/ubuntu/

Aliyun Doc: https://help.aliyun.com/zh/ecs/use-cases/install-and-use-docker-on-a-linux-ecs-instance#33f11a5f1800n

curl -fsSL <https://get.docker.com> -o get-docker.sh
sudo sh ./get-docker.sh --dry-run

Add effective mirrors

Update: Most dockerhub mirrors has been banned by gov, please directly use proxy or host a dockerhub mirror yourself

refer to https://github.com/bboysoulcn/registry-mirror