当前位置:   article > 正文

kali详细安装docker_kali安装docker

kali安装docker

1.更新源,腾讯云

vim /etc/apt/sources.list编辑软件源配置文件

deb https://mirrors.tencent.com/debian/ bullseye main non-free contrib
deb-src https://mirrors.tencent.com/debian/ bullseye main non-free contrib
deb https://mirrors.tencent.com/debian-security/ bullseye-security main
deb-src https://mirrors.tencent.com/debian-security/ bullseye-security main
deb https://mirrors.tencent.com/debian/ bullseye-updates main non-free contrib
deb-src https://mirrors.tencent.com/debian/ bullseye-updates main non-free contrib
deb https://mirrors.tencent.com/debian/ bullseye-backports main non-free contrib
deb-src https://mirrors.tencent.com/debian/ bullseye-backports main non-free contrib

 

  1. ┌──(root㉿kali-cjy)-[/etc/apt]
  2. └─# vim sources.list
  3. ┌──(root㉿kali-cjy)-[/etc/apt]
  4. └─# vim sources.list
  5. ┌──(root㉿kali-cjy)-[/etc/apt]
  6. └─# sudo apt-get update
  7. 获取:1 https://mirrors.tencent.com/debian bullseye InRelease [116 kB]
  8. 获取:2 https://mirrors.tencent.com/debian-security bullseye-security InRelease [48.4 kB]
  9. 获取:3 https://mirrors.tencent.com/debian bullseye-updates InRelease [44.1 kB]
  10. 获取:4 https://mirrors.tencent.com/debian bullseye-backports InRelease [49.0 kB]
  11. 命中:5 https://download.docker.com/linux/debian stretch InRelease
  12. 获取:6 https://mirrors.tencent.com/debian bullseye/main Sources [8,637 kB]
  13. 获取:7 https://mirrors.tencent.com/debian bullseye/contrib Sources [43.2 kB]
  14. 获取:8 https://mirrors.tencent.com/debian bullseye/non-free Sources [81.3 kB]
  15. 获取:9 https://mirrors.tencent.com/debian bullseye/main amd64 Packages [8,183 kB]
  16. 获取:10 https://mirrors.tencent.com/debian bullseye/main Translation-zh [1,215 B]
  17. 获取:11 https://mirrors.tencent.com/debian bullseye/main Translation-zh_CN [114 kB]
  18. 获取:12 https://mirrors.tencent.com/debian bullseye/main Translation-en [6,240 kB]
  19. 获取:13 https://mirrors.tencent.com/debian bullseye/main amd64 Contents (deb) [10.3 MB]
  20. 获取:14 https://mirrors.tencent.com/debian bullseye/main all Contents (deb) [31.1 MB]
  21. 获取:15 https://mirrors.tencent.com/debian bullseye/non-free amd64 Packages [97.8 kB]
  22. 获取:16 https://mirrors.tencent.com/debian bullseye/non-free Translation-en [92.2 kB]
  23. 获取:17 https://mirrors.tencent.com/debian bullseye/non-free all Contents (deb) [888 kB]
  24. 获取:18 https://mirrors.tencent.com/debian bullseye/non-free amd64 Contents (deb) [79.8 kB]
  25. 获取:19 https://mirrors.tencent.com/debian bullseye/contrib amd64 Packages [50.6 kB]
  26. 获取:20 https://mirrors.tencent.com/debian bullseye/contrib Translation-en [46.9 kB]
  27. 获取:21 https://mirrors.tencent.com/debian bullseye/contrib all Contents (deb) [57.3 kB]
  28. 获取:22 https://mirrors.tencent.com/debian bullseye/contrib amd64 Contents (deb) [54.7 kB]
  29. 获取:23 https://mirrors.tencent.com/debian-security bullseye-security/main Sources [196 kB]
  30. 获取:24 https://mirrors.tencent.com/debian-security bullseye-security/main amd64 Packages [240 kB]
  31. 获取:25 https://mirrors.tencent.com/debian-security bullseye-security/main Translation-en [158 kB]
  32. 获取:26 https://mirrors.tencent.com/debian bullseye-updates/main Sources [4,812 B]
  33. 获取:27 https://mirrors.tencent.com/debian bullseye-updates/main amd64 Packages [14.6 kB]
  34. 获取:28 https://mirrors.tencent.com/debian bullseye-updates/main Translation-en [7,929 B]
  35. 获取:29 https://mirrors.tencent.com/debian bullseye-updates/main amd64 Contents (deb) [68.7 kB]
  36. 获取:30 https://mirrors.tencent.com/debian bullseye-updates/main all Contents (deb) [25.0 kB]
  37. 获取:31 https://mirrors.tencent.com/debian bullseye-backports/contrib Sources [4,288 B]
  38. 获取:32 https://mirrors.tencent.com/debian bullseye-backports/main Sources [429 kB]
  39. 获取:33 https://mirrors.tencent.com/debian bullseye-backports/non-free Sources [4,840 B]
  40. 获取:34 https://mirrors.tencent.com/debian bullseye-backports/main amd64 Packages [419 kB]
  41. 获取:35 https://mirrors.tencent.com/debian bullseye-backports/main Translation-en [351 kB]
  42. 获取:36 https://mirrors.tencent.com/debian bullseye-backports/main all Contents (deb) [5,576 kB]
  43. 获取:37 https://mirrors.tencent.com/debian bullseye-backports/main amd64 Contents (deb) [2,481 kB]
  44. 获取:38 https://mirrors.tencent.com/debian bullseye-backports/non-free amd64 Packages [14.3 kB]
  45. 获取:39 https://mirrors.tencent.com/debian bullseye-backports/non-free Translation-en [27.7 kB]
  46. 获取:40 https://mirrors.tencent.com/debian bullseye-backports/non-free amd64 Contents (deb) [10.8 kB]
  47. 获取:41 https://mirrors.tencent.com/debian bullseye-backports/non-free all Contents (deb) [58.7 kB]
  48. 获取:42 https://mirrors.tencent.com/debian bullseye-backports/contrib amd64 Packages [5,692 B]
  49. 获取:43 https://mirrors.tencent.com/debian bullseye-backports/contrib Translation-en [5,832 B]
  50. 获取:44 https://mirrors.tencent.com/debian bullseye-backports/contrib amd64 Contents (deb) [17.1 kB]
  51. 获取:45 https://mirrors.tencent.com/debian bullseye-backports/contrib all Contents (deb) [20.0 kB]
  52. 已下载 76.4 MB,耗时 15秒 (5,033 kB/s)
  53. 正在读取软件包列表... 完成
  54. W: https://download.docker.com/linux/debian/dists/stretch/InRelease: 密钥存储在过时的 trusted.gpg 密钥环中(/etc/apt/trusted.gpg),请参见 apt-key(8) 的 DEPRECATION 一节以了解详情。
  55. ┌──(root㉿kali-cjy)-[/etc/apt]
  56. └─# curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
  57. Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
  58. OK
  59. ┌──(root㉿kali-cjy)-[/etc/apt]
  60. └─# echo ‘deb https://download.docker.com/linux/debian stretch stable’> /etc/apt/sources.list.d/docker.list
  61. ┌──(root㉿kali-cjy)-[/etc/apt]
  62. └─# apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common
  63. E: 软件源列表 /etc/apt/sources.list.d/docker.list 第 1 行中的类别 “‘deb” 无法识别
  64. E: 无法读取源列表。
  65. ┌──(root㉿kali-cjy)-[/etc/apt]
  66. └─# echo 'deb https://download.docker.com/linux/debian stretch stable'> /etc/apt/sources.list.d/docker.list
  67. ┌──(root㉿kali-cjy)-[/etc/apt]
  68. └─# apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common
  69. 正在读取软件包列表... 完成
  70. 正在分析软件包的依赖关系树... 完成
  71. 正在读取状态信息... 完成
  72. ca-certificates 已经是最新版 (20211016)。
  73. 将会同时安装下列软件:
  74. gir1.2-packagekitglib-1.0 libappstream4 libcurl3-gnutls libcurl3-nss libcurl4 libldap-2.4-2
  75. libpackagekit-glib2-18 libssl1.1 libstemmer0d nss-plugin-pem packagekit packagekit-tools
  76. python3-distro-info python3-software-properties unattended-upgrades
  77. 建议安装:
  78. appstream bsd-mailx default-mta | mail-transport-agent needrestart
  79. 下列【新】软件包将被安装:
  80. apt-transport-https gir1.2-packagekitglib-1.0 gnupg2 libappstream4 libldap-2.4-2
  81. libpackagekit-glib2-18 libssl1.1 libstemmer0d nss-plugin-pem packagekit packagekit-tools
  82. python3-distro-info python3-software-properties software-properties-common unattended-upgrades
  83. 下列软件包将被升级:
  84. curl libcurl3-gnutls libcurl3-nss libcurl4
  85. 升级了 4 个软件包,新安装了 15 个软件包,要卸载 0 个软件包,有 69 个软件包未被升级。
  86. 需要下载 5,305 kB 的归档。
  87. 解压缩后会消耗 11.8 MB 的额外空间。
  88. 您希望继续执行吗? [Y/n] y
  89. 获取:1 https://mirrors.tencent.com/debian bullseye/main amd64 apt-transport-https all 2.2.4 [160 kB]
  90. 获取:2 https://mirrors.tencent.com/debian bullseye/main amd64 libldap-2.4-2 amd64 2.4.57+dfsg-3+deb11u1 [232 kB]
  91. 获取:3 https://mirrors.tencent.com/debian bullseye/main amd64 libssl1.1 amd64 1.1.1n-0+deb11u4 [1,560 kB]
  92. 获取:4 https://mirrors.tencent.com/debian bullseye-backports/main amd64 curl amd64 7.88.1-7~bpo11+2 [332 kB]
  93. 获取:5 https://mirrors.tencent.com/debian bullseye-backports/main amd64 libcurl4 amd64 7.88.1-7~bpo11+2 [403 kB]
  94. 获取:6 https://mirrors.tencent.com/debian bullseye/main amd64 libpackagekit-glib2-18 amd64 1.2.2-2 [124 kB]
  95. 获取:7 https://mirrors.tencent.com/debian bullseye/main amd64 gir1.2-packagekitglib-1.0 amd64 1.2.2-2 [36.8 kB]
  96. 获取:8 https://mirrors.tencent.com/debian bullseye/main amd64 gnupg2 all 2.2.27-2+deb11u2 [434 kB]
  97. 获取:9 https://mirrors.tencent.com/debian bullseye-backports/main amd64 libcurl3-gnutls amd64 7.88.1-7~bpo11+2 [399 kB]
  98. 获取:10 https://mirrors.tencent.com/debian bullseye/main amd64 libstemmer0d amd64 2.1.0-1 [119 kB]
  99. 获取:11 https://mirrors.tencent.com/debian bullseye/main amd64 libappstream4 amd64 0.14.4-1 [172 kB]
  100. 获取:12 https://mirrors.tencent.com/debian bullseye/main amd64 nss-plugin-pem amd64 1.0.6-2 [54.7 kB]
  101. 获取:13 https://mirrors.tencent.com/debian bullseye-backports/main amd64 libcurl3-nss amd64 7.88.1-7~bpo11+2 [408 kB]
  102. 获取:14 https://mirrors.tencent.com/debian bullseye/main amd64 packagekit amd64 1.2.2-2 [598 kB]
  103. 获取:15 https://mirrors.tencent.com/debian bullseye/main amd64 packagekit-tools amd64 1.2.2-2 [41.7 kB]
  104. 获取:16 https://mirrors.tencent.com/debian bullseye/main amd64 python3-distro-info all 1.0 [8,720 B]
  105. 获取:17 https://mirrors.tencent.com/debian bullseye/main amd64 python3-software-properties all 0.96.20.2-2.1 [49.7 kB]
  106. 获取:18 https://mirrors.tencent.com/debian bullseye/main amd64 software-properties-common all 0.96.20.2-2.1 [83.4 kB]
  107. 获取:19 https://mirrors.tencent.com/debian bullseye/main amd64 unattended-upgrades all 2.8 [88.6 kB]
  108. 已下载 5,305 kB,耗时 6秒 (825 kB/s)
  109. 正在预设定软件包 ...
  110. 正在选中未选择的软件包 apt-transport-https。
  111. (正在读取数据库 ... 系统当前共安装有 392650 个文件和目录。)
  112. 准备解压 .../00-apt-transport-https_2.2.4_all.deb ...
  113. 正在解压 apt-transport-https (2.2.4) ...
  114. 正在选中未选择的软件包 libldap-2.4-2:amd64
  115. 准备解压 .../01-libldap-2.4-2_2.4.57+dfsg-3+deb11u1_amd64.deb ...
  116. 正在解压 libldap-2.4-2:amd64 (2.4.57+dfsg-3+deb11u1) ...
  117. 正在选中未选择的软件包 libssl1.1:amd64
  118. 准备解压 .../02-libssl1.1_1.1.1n-0+deb11u4_amd64.deb ...
  119. 正在解压 libssl1.1:amd64 (1.1.1n-0+deb11u4) ...
  120. 准备解压 .../03-curl_7.88.1-7~bpo11+2_amd64.deb ...
  121. 正在解压 curl (7.88.1-7~bpo11+2) 并覆盖 (7.87.0-2) ...
  122. 准备解压 .../04-libcurl4_7.88.1-7~bpo11+2_amd64.deb ...
  123. 正在解压 libcurl4:amd64 (7.88.1-7~bpo11+2) 并覆盖 (7.87.0-2) ...
  124. 正在选中未选择的软件包 libpackagekit-glib2-18:amd64
  125. 准备解压 .../05-libpackagekit-glib2-18_1.2.2-2_amd64.deb ...
  126. 正在解压 libpackagekit-glib2-18:amd64 (1.2.2-2) ...
  127. 正在选中未选择的软件包 gir1.2-packagekitglib-1.0
  128. 准备解压 .../06-gir1.2-packagekitglib-1.0_1.2.2-2_amd64.deb ...
  129. 正在解压 gir1.2-packagekitglib-1.0 (1.2.2-2) ...
  130. 正在选中未选择的软件包 gnupg2
  131. 准备解压 .../07-gnupg2_2.2.27-2+deb11u2_all.deb ...
  132. 正在解压 gnupg2 (2.2.27-2+deb11u2) ...
  133. 准备解压 .../08-libcurl3-gnutls_7.88.1-7~bpo11+2_amd64.deb ...
  134. 正在解压 libcurl3-gnutls:amd64 (7.88.1-7~bpo11+2) 并覆盖 (7.87.0-2) ...
  135. 正在选中未选择的软件包 libstemmer0d:amd64
  136. 准备解压 .../09-libstemmer0d_2.1.0-1_amd64.deb ...
  137. 正在解压 libstemmer0d:amd64 (2.1.0-1) ...
  138. 正在选中未选择的软件包 libappstream4:amd64
  139. 准备解压 .../10-libappstream4_0.14.4-1_amd64.deb ...
  140. 正在解压 libappstream4:amd64 (0.14.4-1) ...
  141. 正在选中未选择的软件包 nss-plugin-pem:amd64
  142. 准备解压 .../11-nss-plugin-pem_1.0.6-2_amd64.deb ...
  143. 正在解压 nss-plugin-pem:amd64 (1.0.6-2) ...
  144. 准备解压 .../12-libcurl3-nss_7.88.1-7~bpo11+2_amd64.deb ...
  145. 正在解压 libcurl3-nss:amd64 (7.88.1-7~bpo11+2) 并覆盖 (7.87.0-2) ...
  146. 正在选中未选择的软件包 packagekit。
  147. 准备解压 .../13-packagekit_1.2.2-2_amd64.deb ...
  148. 正在解压 packagekit (1.2.2-2) ...
  149. 正在选中未选择的软件包 packagekit-tools。
  150. 准备解压 .../14-packagekit-tools_1.2.2-2_amd64.deb ...
  151. 正在解压 packagekit-tools (1.2.2-2) ...
  152. 正在选中未选择的软件包 python3-distro-info。
  153. 准备解压 .../15-python3-distro-info_1.0_all.deb ...
  154. 正在解压 python3-distro-info (1.0) ...
  155. 正在选中未选择的软件包 python3-software-properties。
  156. 准备解压 .../16-python3-software-properties_0.96.20.2-2.1_all.deb ...
  157. 正在解压 python3-software-properties (0.96.20.2-2.1) ...
  158. 正在选中未选择的软件包 software-properties-common。
  159. 准备解压 .../17-software-properties-common_0.96.20.2-2.1_all.deb ...
  160. 正在解压 software-properties-common (0.96.20.2-2.1) ...
  161. 正在选中未选择的软件包 unattended-upgrades。
  162. 准备解压 .../18-unattended-upgrades_2.8_all.deb ...
  163. 正在解压 unattended-upgrades (2.8) ...
  164. 正在设置 gnupg2 (2.2.27-2+deb11u2) ...
  165. 正在设置 apt-transport-https (2.2.4) ...
  166. 正在设置 libssl1.1:amd64 (1.1.1n-0+deb11u4) ...
  167. 正在设置 nss-plugin-pem:amd64 (1.0.6-2) ...
  168. 正在设置 libldap-2.4-2:amd64 (2.4.57+dfsg-3+deb11u1) ...
  169. 正在设置 libpackagekit-glib2-18:amd64 (1.2.2-2) ...
  170. 正在设置 libcurl3-gnutls:amd64 (7.88.1-7~bpo11+2) ...
  171. 正在设置 gir1.2-packagekitglib-1.0 (1.2.2-2) ...
  172. 正在设置 python3-software-properties (0.96.20.2-2.1) ...
  173. 正在设置 libcurl3-nss:amd64 (7.88.1-7~bpo11+2) ...
  174. 正在设置 libcurl4:amd64 (7.88.1-7~bpo11+2) ...
  175. 正在设置 curl (7.88.1-7~bpo11+2) ...
  176. 正在设置 libstemmer0d:amd64 (2.1.0-1) ...
  177. 正在设置 python3-distro-info (1.0) ...
  178. 正在设置 libappstream4:amd64 (0.14.4-1) ...
  179. 正在设置 software-properties-common (0.96.20.2-2.1) ...
  180. 正在设置 unattended-upgrades (2.8) ...
  181. Creating config file /etc/apt/apt.conf.d/50unattended-upgrades with new version
  182. update-rc.d: We have no instructions for the unattended-upgrades init script.
  183. update-rc.d: It looks like a non-network service, we enable it.
  184. Synchronizing state of unattended-upgrades.service with SysV service script with /lib/systemd/systemd-sysv-install.
  185. Executing: /lib/systemd/systemd-sysv-install enable unattended-upgrades
  186. Created symlink /etc/systemd/system/multi-user.target.wants/unattended-upgrades.service → /lib/systemd/system/unattended-upgrades.service.
  187. /usr/sbin/policy-rc.d returned 101, not running 'start unattended-upgrades.service'
  188. 正在设置 packagekit (1.2.2-2) ...
  189. invoke-rc.d: policy-rc.d denied execution of force-reload.
  190. Created symlink /etc/systemd/user/sockets.target.wants/pk-debconf-helper.socket → /usr/lib/systemd/user/pk-debconf-helper.socket.
  191. 正在设置 packagekit-tools (1.2.2-2) ...
  192. 正在处理用于 libc-bin (2.36-8) 的触发器 ...
  193. 正在处理用于 man-db (2.11.2-1) 的触发器 ...
  194. 正在处理用于 dbus (1.14.6-1) 的触发器 ...
  195. 正在处理用于 kali-menu (2023.1.7) 的触发器 ...
  196. ┌──(root㉿kali-cjy)-[/etc/apt]
  197. └─# apt-get update
  198. 命中:1 https://mirrors.tencent.com/debian bullseye InRelease
  199. 命中:2 https://mirrors.tencent.com/debian-security bullseye-security InRelease
  200. 命中:3 https://mirrors.tencent.com/debian bullseye-updates InRelease
  201. 命中:4 https://mirrors.tencent.com/debian bullseye-backports InRelease
  202. 命中:5 https://download.docker.com/linux/debian stretch InRelease
  203. 正在读取软件包列表... 完成
  204. W: https://download.docker.com/linux/debian/dists/stretch/InRelease: 密钥存储在过时的 trusted.gpg 密钥环中(/etc/apt/trusted.gpg),请参见 apt-key(8) 的 DEPRECATION 一节以了解详情。
  205. ┌──(root㉿kali-cjy)-[/etc/apt]
  206. └─# sudo apt install docker.io
  207. 正在读取软件包列表... 完成
  208. 正在分析软件包的依赖关系树... 完成
  209. 正在读取状态信息... 完成
  210. 将会同时安装下列软件:
  211. cgroupfs-mount containerd runc tini
  212. 建议安装:
  213. containernetworking-plugins docker-doc aufs-tools btrfs-progs debootstrap rinse rootlesskit
  214. xfsprogs zfs-fuse | zfsutils-linux
  215. 推荐安装:
  216. needrestart criu
  217. 下列【新】软件包将被安装:
  218. cgroupfs-mount containerd docker.io runc tini
  219. 升级了 0 个软件包,新安装了 5 个软件包,要卸载 0 个软件包,有 69 个软件包未被升级。
  220. 需要下载 60.4 MB 的归档。
  221. 解压缩后会消耗 265 MB 的额外空间。
  222. 您希望继续执行吗? [Y/n] y
  223. 获取:1 https://mirrors.tencent.com/debian bullseye/main amd64 runc amd64 1.0.0~rc93+ds1-5+deb11u2 [2,428 kB]
  224. 获取:2 https://mirrors.tencent.com/debian bullseye/main amd64 containerd amd64 1.4.13~ds1-1~deb11u4 [20.9 MB]
  225. 获取:3 https://mirrors.tencent.com/debian bullseye/main amd64 tini amd64 0.19.0-1 [255 kB]
  226. 获取:4 https://mirrors.tencent.com/debian bullseye/main amd64 docker.io amd64 20.10.5+dfsg1-1+deb11u2 [36.9 MB]
  227. 获取:5 https://mirrors.tencent.com/debian bullseye/main amd64 cgroupfs-mount all 1.4 [6,276 B]
  228. 已下载 60.4 MB,耗时 9秒 (6,487 kB/s)
  229. 正在选中未选择的软件包 runc。
  230. (正在读取数据库 ... 系统当前共安装有 392994 个文件和目录。)
  231. 准备解压 .../runc_1.0.0~rc93+ds1-5+deb11u2_amd64.deb ...
  232. 正在解压 runc (1.0.0~rc93+ds1-5+deb11u2) ...
  233. 正在选中未选择的软件包 containerd。
  234. 准备解压 .../containerd_1.4.13~ds1-1~deb11u4_amd64.deb ...
  235. 正在解压 containerd (1.4.13~ds1-1~deb11u4) ...
  236. 正在选中未选择的软件包 tini。
  237. 准备解压 .../tini_0.19.0-1_amd64.deb ...
  238. 正在解压 tini (0.19.0-1) ...
  239. 正在选中未选择的软件包 docker.io。
  240. 准备解压 .../docker.io_20.10.5+dfsg1-1+deb11u2_amd64.deb ...
  241. 正在解压 docker.io (20.10.5+dfsg1-1+deb11u2) ...
  242. 正在选中未选择的软件包 cgroupfs-mount。
  243. 准备解压 .../cgroupfs-mount_1.4_all.deb ...
  244. 正在解压 cgroupfs-mount (1.4) ...
  245. 正在设置 runc (1.0.0~rc93+ds1-5+deb11u2) ...
  246. 正在设置 tini (0.19.0-1) ...
  247. 正在设置 cgroupfs-mount (1.4) ...
  248. update-rc.d: We have no instructions for the cgroupfs-mount init script.
  249. update-rc.d: It looks like a non-network service, we enable it.
  250. invoke-rc.d: policy-rc.d denied execution of start.
  251. 正在设置 containerd (1.4.13~ds1-1~deb11u4) ...
  252. /usr/sbin/policy-rc.d returned 101, not running 'start containerd.service'
  253. 正在设置 docker.io (20.10.5+dfsg1-1+deb11u2) ...
  254. 正在添加组"docker" (GID 140)...
  255. 完成。
  256. update-rc.d: We have no instructions for the docker init script.
  257. update-rc.d: It looks like a non-network service, we enable it.
  258. invoke-rc.d: policy-rc.d denied execution of start.
  259. Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /lib/systemd/system/docker.service.
  260. Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket.
  261. /usr/sbin/policy-rc.d returned 101, not running 'start docker.service docker.socket'
  262. 正在处理用于 kali-menu (2023.1.7) 的触发器 ...
  263. 正在处理用于 man-db (2.11.2-1) 的触发器 ...
  264. ┌──(root㉿kali-cjy)-[/etc/apt]
  265. └─# docker -v
  266. Docker version 20.10.5+dfsg1, build 55c4c88
  267. ┌──(root㉿kali-cjy)-[/etc/apt]
  268. └─# apt install docker-compose
  269. 正在读取软件包列表... 完成
  270. 正在分析软件包的依赖关系树... 完成
  271. 正在读取状态信息... 完成
  272. 将会同时安装下列软件:
  273. python3-cached-property python3-docker python3-dockerpty
  274. 下列【新】软件包将被安装:
  275. docker-compose python3-cached-property python3-docker python3-dockerpty
  276. 升级了 0 个软件包,新安装了 4 个软件包,要卸载 0 个软件包,有 69 个软件包未被升级。
  277. 需要下载 228 kB 的归档。
  278. 解压缩后会消耗 1,324 kB 的额外空间。
  279. 您希望继续执行吗? [Y/n] y
  280. 获取:1 https://mirrors.tencent.com/debian bullseye/main amd64 python3-cached-property all 1.5.2-1 [12.5 kB]
  281. 获取:2 https://mirrors.tencent.com/debian bullseye/main amd64 python3-docker all 4.1.0-1.2 [85.2 kB]
  282. 获取:3 https://mirrors.tencent.com/debian bullseye/main amd64 python3-dockerpty all 0.4.1-2 [11.1 kB]
  283. 获取:4 https://mirrors.tencent.com/debian bullseye/main amd64 docker-compose all 1.25.0-1 [119 kB]
  284. 已下载 228 kB,耗时 1秒 (167 kB/s)
  285. 正在选中未选择的软件包 python3-cached-property。
  286. (正在读取数据库 ... 系统当前共安装有 393288 个文件和目录。)
  287. 准备解压 .../python3-cached-property_1.5.2-1_all.deb ...
  288. 正在解压 python3-cached-property (1.5.2-1) ...
  289. 正在选中未选择的软件包 python3-docker。
  290. 准备解压 .../python3-docker_4.1.0-1.2_all.deb ...
  291. 正在解压 python3-docker (4.1.0-1.2) ...
  292. 正在选中未选择的软件包 python3-dockerpty。
  293. 准备解压 .../python3-dockerpty_0.4.1-2_all.deb ...
  294. 正在解压 python3-dockerpty (0.4.1-2) ...
  295. 正在选中未选择的软件包 docker-compose。
  296. 准备解压 .../docker-compose_1.25.0-1_all.deb ...
  297. 正在解压 docker-compose (1.25.0-1) ...
  298. 正在设置 python3-cached-property (1.5.2-1) ...
  299. 正在设置 python3-docker (4.1.0-1.2) ...
  300. 正在设置 python3-dockerpty (0.4.1-2) ...
  301. 正在设置 docker-compose (1.25.0-1) ...
  302. 正在处理用于 kali-menu (2023.1.7) 的触发器 ...
  303. 正在处理用于 man-db (2.11.2-1) 的触发器 ...
  304. ┌──(root㉿kali-cjy)-[/etc/apt]
  305. └─#

以上是安装过程,之前有部分失败是因为源不好用

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/木道寻08/article/detail/1013494
推荐阅读
相关标签
  

闽ICP备14008679号