raspberrypi 4b 安装 Docker

  1 root@raspberrypi:~# wget https://download.docker.com/linux/debian/dists/buster/pool/stable/armhf/containerd.io_1.2.6-3_armhf.deb
  2 --2019-09-04 20:47:59--  https://download.docker.com/linux/debian/dists/buster/pool/stable/armhf/containerd.io_1.2.6-3_armhf.deb
  3 正在解析主机 download.docker.com (download.docker.com)... 54.192.151.52, 54.192.151.81, 54.192.151.75, ...
  4 正在连接 download.docker.com (download.docker.com)|54.192.151.52|:443... 已连接。
  5 已发出 HTTP 请求,正在等待回应... 200 OK
  6 长度:13025874 (12M) [binary/octet-stream]
  7 正在保存至: “containerd.io_1.2.6-3_armhf.deb”
  8 
  9 containerd.io_1.2.6-3_armhf.deb                        100%[==========================================================================================================================>]  12.42M  3.84MB/s  用时 3.2s    
 10 
 11 2019-09-04 20:48:03 (3.84 MB/s) - 已保存 “containerd.io_1.2.6-3_armhf.deb” [13025874/13025874])
 12 
 13 root@raspberrypi:~# wget https://download.docker.com/linux/debian/dists/buster/pool/stable/armhf/docker-ce-cli_19.03.2~3-0~debian-buster_armhf.deb
 14 --2019-09-04 20:48:36--  https://download.docker.com/linux/debian/dists/buster/pool/stable/armhf/docker-ce-cli_19.03.2~3-0~debian-buster_armhf.deb
 15 正在解析主机 download.docker.com (download.docker.com)... 54.192.151.52, 54.192.151.33, 54.192.151.81, ...
 16 正在连接 download.docker.com (download.docker.com)|54.192.151.52|:443... 已连接。
 17 已发出 HTTP 请求,正在等待回应... 200 OK
 18 长度:29491366 (28M) [binary/octet-stream]
 19 正在保存至: “docker-ce-cli_19.03.2~3-0~debian-buster_armhf.deb”
 20 
 21 docker-ce-cli_19.03.2~3-0~debian-buster_armhf.deb      100%[==========================================================================================================================>]  28.12M  4.39MB/s  用时 9.4s    
 22 
 23 2019-09-04 20:48:46 (3.01 MB/s) - 已保存 “docker-ce-cli_19.03.2~3-0~debian-buster_armhf.deb” [29491366/29491366])
 24 
 25 root@raspberrypi:~# wget https://download.docker.com/linux/debian/dists/buster/pool/stable/armhf/docker-ce_19.03.2~3-0~debian-buster_armhf.deb
 26 --2019-09-04 20:49:06--  https://download.docker.com/linux/debian/dists/buster/pool/stable/armhf/docker-ce_19.03.2~3-0~debian-buster_armhf.deb
 27 正在解析主机 download.docker.com (download.docker.com)... 54.192.151.33, 54.192.151.81, 54.192.151.75, ...
 28 正在连接 download.docker.com (download.docker.com)|54.192.151.33|:443... 已连接。
 29 已发出 HTTP 请求,正在等待回应... 200 OK
 30 长度:14863242 (14M) [binary/octet-stream]
 31 正在保存至: “docker-ce_19.03.2~3-0~debian-buster_armhf.deb”
 32 
 33 docker-ce_19.03.2~3-0~debian-buster_armhf.deb          100%[==========================================================================================================================>]  14.17M  4.10MB/s  用时 3.5s    
 34 
 35 2019-09-04 20:49:11 (4.10 MB/s) - 已保存 “docker-ce_19.03.2~3-0~debian-buster_armhf.deb” [14863242/14863242])
 36 
 37 root@raspberrypi:~# ls
 38 containerd.io_1.2.6-3_armhf.deb  docker-ce_19.03.2~3-0~debian-buster_armhf.deb  docker-ce-cli_19.03.2~3-0~debian-buster_armhf.deb
 39 root@raspberrypi:~# dpkg -i containerd.io_1.2.6-3_armhf.deb
 40 正在选中未选择的软件包 containerd.io。
 41 (正在读取数据库 ... 系统当前共安装有 155118 个文件和目录。)
 42 准备解压 containerd.io_1.2.6-3_armhf.deb  ...
 43 正在解压 containerd.io (1.2.6-3) ...
 44 正在设置 containerd.io (1.2.6-3) ...
 45 Created symlink /etc/systemd/system/multi-user.target.wants/containerd.service → /lib/systemd/system/containerd.service.
 46 root@raspberrypi:~# dpkg -i docker-ce-cli_19.03.2~3-0~debian-buster_armhf.deb
 47 正在选中未选择的软件包 docker-ce-cli。
 48 (正在读取数据库 ... 系统当前共安装有 155128 个文件和目录。)
 49 准备解压 docker-ce-cli_19.03.2~3-0~debian-buster_armhf.deb  ...
 50 正在解压 docker-ce-cli (5:19.03.2~3-0~debian-buster) ...
 51 正在设置 docker-ce-cli (5:19.03.2~3-0~debian-buster) ...
 52 正在处理用于 man-db (2.8.5-2) 的触发器 ...
 53 root@raspberrypi:~# dpkg -i docker-ce_19.03.2~3-0~debian-buster_armhf.deb
 54 正在选中未选择的软件包 docker-ce。
 55 (正在读取数据库 ... 系统当前共安装有 155332 个文件和目录。)
 56 准备解压 docker-ce_19.03.2~3-0~debian-buster_armhf.deb  ...
 57 正在解压 docker-ce (5:19.03.2~3-0~debian-buster) ...
 58 正在设置 docker-ce (5:19.03.2~3-0~debian-buster) ...
 59 Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /lib/systemd/system/docker.service.
 60 Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket.
 61 正在处理用于 systemd (241-5+rpi1) 的触发器 ...
 62 root@raspberrypi:~# docker info
 63 Client:
 64  Debug Mode: false
 65 
 66 Server:
 67  Containers: 0
 68   Running: 0
 69   Paused: 0
 70   Stopped: 0
 71  Images: 0
 72  Server Version: 19.03.2
 73  Storage Driver: overlay2
 74   Backing Filesystem: extfs
 75   Supports d_type: true
 76   Native Overlay Diff: true
 77  Logging Driver: json-file
 78  Cgroup Driver: cgroupfs
 79  Plugins:
 80   Volume: local
 81   Network: bridge host ipvlan macvlan null overlay
 82   Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 83  Swarm: inactive
 84  Runtimes: runc
 85  Default Runtime: runc
 86  Init Binary: docker-init
 87  containerd version: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
 88  runc version: 425e105d5a03fabd737a126ad93d62a9eeede87f
 89  init version: fec3683
 90  Security Options:
 91   seccomp
 92    Profile: default
 93  Kernel Version: 4.19.57-v7l+
 94  Operating System: Raspbian GNU/Linux 10 (buster)
 95  OSType: linux
 96  Architecture: armv7l
 97  CPUs: 4
 98  Total Memory: 3.814GiB
 99  Name: raspberrypi
100  ID: NZ4Y:5MCR:64OR:APOI:BPRU:KALC:JT7M:TX5O:FYVA:MYLR:FTRD:EVZ2
101  Docker Root Dir: /var/lib/docker
102  Debug Mode: false
103  Registry: https://index.docker.io/v1/
104  Labels:
105  Experimental: false
106  Insecure Registries:
107   127.0.0.0/8
108  Live Restore Enabled: false
109 
110 WARNING: No swap limit support
111 WARNING: No cpu cfs quota support
112 WARNING: No cpu cfs period support
113 root@raspberrypi:~#

 

posted @ 2019-09-04 20:57  microestc  阅读(1011)  评论(3编辑  收藏