Open ysl2 opened 5 months ago
Install
sudo apt install -y docker.io
Set mirror
阿里云加速器(点击管理控制台 -> 登录账号(淘宝账号) -> 左侧镜像工具 -> 镜像加速器 -> 复制加速器地址)
sudo mkdir -p /etc/docker sudo tee /etc/docker/daemon.json <<-'EOF' { "registry-mirrors": ["自己的阿里云镜像链接"] } EOF sudo systemctl daemon-reload sudo systemctl restart docker
Without sudo
# Create a Docker group if it doesn't already exist: sudo groupadd docker # Add your user to the Docker group: sudo usermod -aG docker $USER
Mac: Install docker desktop from official site.
Install
Set mirror
阿里云加速器(点击管理控制台 -> 登录账号(淘宝账号) -> 左侧镜像工具 -> 镜像加速器 -> 复制加速器地址)
Without sudo