Since June, a large number of Docker mirror websites have stopped serving, and Docker cannot be downloaded and installed. This warehouse is dedicated to solving the problem of being unable to use Docker due to domestic network reasons.
Author: Technical Climbing Shrimp
Station B, Douyin, and Youtube all have the same name. Please indicate the author when reprinting.
One-click installation command (automatically synchronizes from the official website every day)
sudo curl -fsSL https://github.com/tech-shrimp/docker_installer/releases/download/latest/linux.sh| bash -s docker --mirror Aliyun
Backup (if Github cannot be accessed, you can use the Gitee link)
sudo curl -fsSL https://gitee.com/tech-shrimp/docker_installer/releases/download/latest/linux.sh| bash -s docker --mirror Aliyun
Start docker
sudo service docker start
Taskbar search function, enable "Windows Subsystem for Linux" + "Virtual Machine Platform"
Open the command prompt with administrator rights and install wsl2
wsl --set-default-version 2
wsl --update --web-download
Wait for the wsl installation to be successful, download the Windows version installation package, and enter the Release of this project.
https://github.com/tech-shrimp/docker_installer/releases
Download the Windows version installation package and double-click to install it.
Optional: If you want to specify the installation directory yourself, you can use the command line parameter --installation-dir=D:Docker to specify the installation location.
start /w "" "Docker Desktop Installer.exe" install --installation-dir=D:Docker
Enter the Release of this project and download the installation package for Mac system
https://github.com/tech-shrimp/docker_installer/releases Pay attention to distinguish the CPU architecture type: Intel chip chooses x86_64, Apple chip chooses arm64
After downloading, double-click to install
Use Github Action to transfer foreign Docker images to Alibaba Cloud private warehouse for use by domestic servers, free and easy to use
Project address: https://github.com/tech-shrimp/docker_image_pusher
Currently, there are only a few domestic mirror sites surviving and there is no guarantee that the mirrors will be complete. Use and cherish the following three mirror sites, which are backed by larger open source projects and are recommended first.
Project name | Project address | Acceleration address |
---|---|---|
1Panel | https://github.com/1Panel-dev/1Panel/ | https://docker.1panel.live |
Daocloud | https://github.com/DaoCloud/public-image-mirror | https://docker.m.daocloud.io |
mouse panel | https://github.com/TheTNB/panel | https://hub.rat.dev |
sudo vi /etc/docker/daemon.json
Enter the following content, finally press ESC, enter: wq! Save and exit.
{
"registry-mirrors": [
"https://docker.m.daocloud.io",
"https://docker.1panel.live",
"https://hub.rat.dev"
]
}
Restart docker
sudo service docker restart
Setting->Docker Engine->Add the section for changing the source, as shown below
Use Github Action to download the docker offline image https://github.com/wukongdaily/DockerTarBuilder
bash -c "$(curl -sSLf https://xy.ggbond.org/xy/docker_pull.sh)" -s full image name
https://github.com/cmliu/CF-Workers-docker.io
https://docker.fxxk.dedyn.io/