Notice: Undefined index: scheme in /www/wwwroot/qq.wanuse.com/wp-includes/canonical.php on line 751

Notice: Undefined index: host in /www/wwwroot/qq.wanuse.com/wp-includes/canonical.php on line 716

Notice: Undefined index: host in /www/wwwroot/qq.wanuse.com/wp-includes/canonical.php on line 727

Notice: Undefined index: host in /www/wwwroot/qq.wanuse.com/wp-includes/canonical.php on line 730

Notice: Undefined index: scheme in /www/wwwroot/qq.wanuse.com/wp-includes/canonical.php on line 751
The Alpine Linux environment installs docker container records-中文:alpine linux 环境安装 docker 容器 记录 - DDD网络科技
使用互联网记录分享(Wide Area Network use :更好地使用互联网。)
The Alpine Linux environment installs docker container records-中文:alpine linux 环境安装 docker 容器 记录

The Alpine Linux environment installs docker container records-中文:alpine linux 环境安装 docker 容器 记录

The Alpine Linux environment installs docker container records-中文:alpine linux 环境安装 docker 容器 记录

The installation records-中文:安装记录

root@192.168.5.121’s password:

localhost:~# cd ..

localhost:/# vi /etc/apk/repositories

————————————————————-

Remove the community source address # comment.

中文:
使用Del键去掉社区源地址#号注释(第三行#)

 

 

 

按Esc键  然后输入冒号(:)在输入wq回车

—————————————————————

localhost:/# apk update

fetch http://mirror.lzu.edu.cn/alpine/v3.9/main/x86_64/APKINDEX.tar.gz

fetch http://mirror.lzu.edu.cn/alpine/v3.9/community/x86_64/APKINDEX.tar.gz

v3.9.6-76-gdbaf4fe216 [http://mirror.lzu.edu.cn/alpine/v3.9/main]

v3.9.6-77-ge8d61b9ac4 [http://mirror.lzu.edu.cn/alpine/v3.9/community]

OK: 9774 distinct packages available

——————————————————————–

localhost:/# apk add docker

(1/11) Installing ca-certificates (20191127-r2)

(2/11) Installing libseccomp (2.4.2-r2)

(3/11) Installing runc (1.0.0_rc8-r0)

(4/11) Installing containerd (1.2.7-r0)

(5/11) Installing libmnl (1.0.4-r0)

(6/11) Installing jansson (2.11-r0)

(7/11) Installing libnftnl-libs (1.1.1-r0)

(8/11) Installing iptables (1.6.2-r1)

(9/11) Installing tini-static (0.18.0-r0)

(10/11) Installing docker (18.09.8-r0)

Executing docker-18.09.8-r0.pre-install

(11/11) Installing docker-openrc (18.09.8-r0)

Executing busybox-1.29.3-r10.trigger

Executing ca-certificates-20191127-r2.trigger

OK: 330 MiB in 54 packages

——————————————————————–

localhost:/# rc-update add docker boot

* service docker added to runlevel boot

——————————————————————————–

localhost:/# service docker start

* Caching service dependencies …                                       [ ok ]

* Mounting cgroup filesystem …                                         [ ok ]

* /var/log/docker.log: creating file

* /var/log/docker.log: correcting owner

* Starting docker …                                                    [ ok ]

======================================================

localhost:/# docker ps

CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES

localhost:/#

 

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注