Ubuntu 19.10 installed and configured in Docker domestic source
Docker installation
sudo apt-get install docker.io
After installed, in the course there may be some mistakes.
Sudo solve the following problems plus
docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/create: dial unix /var/run/docker.sock: connect: permission denied.
See ‘docker run --help’.
The following configuration issues to resolve domestic source docker.
Using default tag: latest
Error response from daemon: Get https://registry-1.docker.io/v2/scrapinghub/splash/manifests/latest: Get https://auth.docker.io/token?scope=repository%3Ascrapinghub%2Fsplash%3Apull&service=registry.docker.io: net/http: TLS handshake timeout
Docker domestic source configuration
# 增加或创建/etc/docker/daemon.json
vim /etc/docker/daemon.json
Increase in /etc/docker/daemon.json in the code, the following configuration Ali source
{
"registry-mirrors":["https://6kx4zyno.mirror.aliyuncs.com"]
}