1. Problem description Due to some reasons, the download speed of sudo vi /etc/docker/daemon.json Replace the content of this file with Alibaba source. The modified { "registry-mirrors": ["http://hub-mirror.c.163.com"] } Then root@ubuntu:~# docker info Client: Debug Mode: false Server: Containers: 3 Running: 0 Paused: 0 Stopped: 3 Images: 3 Server Version: 19.03.8 Storage Driver: overlay2 Backing Filesystem: <unknown> Supports d_type: true Native Overlay Diff: true Logging Driver: json-file Cgroup Driver: cgroupfs Plugins: Volume: local Network: bridge host ipvlan macvlan null overlay Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog Swarm: inactive Runtimes: runc Default Runtime: runc Init Binary: docker-init containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429 runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd init version: fec3683 Security Options: appArmor seccomp Profile: default Kernel Version: 4.15.0-97-generic Operating System: Ubuntu 18.04.4 LTS OSType: linux Architecture: x86_64 CPUs: 12 Total Memory: 7.767GiB Name: ubuntu ID: 2XV6:BJ7Q:6BIH:4FIR:HEPL:3GF7:33A2:GGTU:EQMB:EKGX:EO34:5J44 Docker Root Dir: /var/lib/docker Debug Mode: false Registry: https://index.docker.io/v1/ Labels: Experimental: false Insecure Registries: 127.0.0.0/8 Registry Mirrors: http://hub-mirror.c.163.com/ Live Restore Enabled: false WARNING: No swap limit support 2. SummaryMost of the code in the book is correct if you run it directly, but there are always some software updates that the author cannot do anything about. It is common that the previous API was correct, but it was later abandoned or modified. So we need to track the source code. This is just a small question. Without the selfless dedication of our predecessors, it is hard to imagine how much we can learn in a day. Thank you to all the seniors for their hard work, which helped us avoid many detours! This is the end of this article about how to use domestic image repositories with Docker. For more relevant content about domestic image repositories with Docker, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Vue implements the drag and drop sorting function of the page div box
>>: Example code for implementing card waterfall layout with css3 column
In MySQL, you can specify multiple indexes for a ...
Solution: Just set the link's target attribute...
Table of contents Preface 1.v-show 2.v-if 3. The ...
This article shares the specific code for JavaScr...
First of all, you need to understand why you use ...
Table of contents Preface Active withdrawal Excep...
Classical color combinations convey power and auth...
The <link> tag defines the relationship bet...
There are caches everywhere inside MySQL. When I ...
This article example shares the specific code for...
MySql batch insert optimization Sql execution eff...
Understanding of diff algorithm in React diff alg...
1. MySQL rpm package installation # Download the ...
Dockerfile is a file used to build a docker image...
The basic principle of all animations is to displ...