Installed the docker shooting range in China, after several twists and turns, repeatedly
- 1
cat /etc/docker/daemon.json
vi /etc/docker/daemon.json
Without kali, create a folder with mkdir, touch, create a file,
ubuntu, and edit directly with vi
- 2
{
"registry-mirrors": [
"https://registry.docker-cn.com",
"http://hub-mirror.c.163.com",
"https://docker.mirrors.ustc.edu.cn"
]
}
- 3
systemctl restart docker