kali下载
https://kali.download/virtual-images/kali-2022.2/kali-linux-2022.2-vmware-amd64.7z
下载完成之后,直接解压,打开就行了。密码kali


kali汉化
root模式下输入
dpkg-reconfigure locales


修改 [*] en_US.UTF-8 UTF-8  至  [ ] en_US.UTF-8 UTF-8

修改 [ ] zh_CN.UTF-8 UTF-8  至 [*] zh_CN.UTF-8 UTF-8
就是向下移动然后空格取消标记,或者空格添加标记
回车确定之后选择zh语言,不需要其他花里胡哨的
reboot重启之后,就已经是汉化版的kali了
docker & docker-compose 安装过程

┌──(kali㉿kali)-[~/Desktop]
└─$ sudo su  
[sudo] kali 的密码:
┌──(root㉿kali)-[/home/kali/Desktop]
└─# docker -v               
Command 'docker' not found, but can be installed with:
apt install docker.io    
apt install podman-docker
                                                                                                                                                           
┌──(root㉿kali)-[/home/kali/Desktop]
└─# apt update
获取:1 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling InRelease [30.6 kB]
获取:2 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling/non-free Sources [127 kB]
获取:3 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling/main Sources [14.7 MB]
获取:3 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling/main Sources [14.7 MB]
获取:3 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling/main Sources [14.7 MB]
获取:3 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling/main Sources [14.7 MB]
获取:3 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling/main Sources [14.7 MB]
获取:8 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling/main amd64 Packages [18.4 MB]
获取:9 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling/main amd64 Contents (deb) [42.9 MB]                                                          
获取:10 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling/contrib amd64 Packages [114 kB]                                                             
已下载 76.2 MB,耗时 26秒 (2,971 kB/s)                                                                                                                    
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成                 
有 227 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
        
        //这一步可以忽略                                                                                                                                                   
┌──(root㉿kali)-[/home/kali/Desktop]
└─# apt list --upgradable
正在列表... 完成
apache2-bin/kali-rolling 2.4.54-2 amd64 [可从该版本升级:2.4.53-2]
apache2-data/kali-rolling 2.4.54-2 all [可从该版本升级:2.4.53-2]
apache2-utils/kali-rolling 2.4.54-2 amd64 [可从该版本升级:2.4.53-2]
apache2/kali-rolling 2.4.54-2 amd64 [可从该版本升级:2.4.53-2]
axel/kali-rolling 2.17.11-1+b1 amd64 [可从该版本升级:2.17.11-1]
bind9-dnsutils/kali-rolling 1:9.18.4-2 amd64 [可从该版本升级:1:9.18.1-1]
bind9-host/kali-rolling 1:9.18.4-2 amd64 [可从该版本升级:1:9.18.1-1]
bind9-libs/kali-rolling 1:9.18.4-2 amd64 [可从该版本升级:1:9.18.1-1]
binutils-common/kali-rolling 2.38.90.20220713-2 amd64 [可从该版本升级:2.38-3]
binutils-x86-64-linux-gnu/kali-rolling 2.38.90.20220713-2 amd64 [可从该版本升级:2.38-3]
binutils/kali-rolling 2.38.90.20220713-2 amd64 [可从该版本升级:2.38-3]
blueman/kali-rolling 2.3.1-1 amd64 [可从该版本升级:2.3-1]
cpp-11/kali-rolling 11.3.0-5 amd64 [可从该版本升级:11.3.0-1]
cron/kali-rolling 3.0pl1-149 amd64 [可从该版本升级:3.0pl1-137.1]
curl/kali-rolling 7.84.0-2 amd64 [可从该版本升级:7.82.0-2]
ettercap-common/kali-rolling 1:0.8.3.1-10 amd64 [可从该版本升级:1:0.8.3.1-6]
ettercap-graphical/kali-rolling 1:0.8.3.1-10 amd64 [可从该版本升级:1:0.8.3.1-6]
freerdp2-x11/kali-rolling 2.7.0+dfsg1-1+b2 amd64 [可从该版本升级:2.7.0+dfsg1-1]
g++-11/kali-rolling 11.3.0-5 amd64 [可从该版本升级:11.3.0-1]
galera-4/kali-rolling 26.4.11-1+b1 amd64 [可从该版本升级:26.4.11-1]
gcc-11-base/kali-rolling 11.3.0-5 amd64 [可从该版本升级:11.3.0-1]
gcc-11/kali-rolling 11.3.0-5 amd64 [可从该版本升级:11.3.0-1]
graphviz/kali-rolling 2.42.2-7 amd64 [可从该版本升级:2.42.2-6+b3]
gstreamer1.0-libav/kali-rolling 1.20.3-1+b1 amd64 [可从该版本升级:1.20.1-1]
gstreamer1.0-plugins-bad/kali-rolling 1.20.3-1+b2 amd64 [可从该版本升级:1.20.1-2]
hydra-gtk/kali-rolling 9.3-3+b1 amd64 [可从该版本升级:9.3-3]
hydra/kali-rolling 9.3-3+b1 amd64 [可从该版本升级:9.3-3]
ike-scan/kali-rolling 1.9.5-1+b1 amd64 [可从该版本升级:1.9.5-1]
impacket-scripts/kali-rolling 1.7 all [可从该版本升级:1.6]
john-data/kali-rolling 1.9.0-Jumbo-1+git20211102-0kali3 all [可从该版本升级:1.9.0-Jumbo-1+git20211102-0kali2]
john/kali-rolling 1.9.0-Jumbo-1+git20211102-0kali3+b1 amd64 [可从该版本升级:1.9.0-Jumbo-1+git20211102-0kali2]
kali-linux-headless/kali-rolling 2022.3.10 amd64 [可从该版本升级:2022.1.2]
kmod/kali-rolling 29-1+b1 amd64 [可从该版本升级:29-1]
libafflib0v5/kali-rolling 3.7.19-2+b1 amd64 [可从该版本升级:3.7.19-2]
libapache2-mod-php8.1/kali-rolling 8.1.5-1+b1 amd64 [可从该版本升级:8.1.2-1+b3]
libaprutil1-dbd-sqlite3/kali-rolling 1.6.1-5+b2 amd64 [可从该版本升级:1.6.1-5+b1]
libaprutil1-ldap/kali-rolling 1.6.1-5+b2 amd64 [可从该版本升级:1.6.1-5+b1]
libaprutil1/kali-rolling 1.6.1-5+b2 amd64 [可从该版本升级:1.6.1-5+b1]
libasan6/kali-rolling 11.3.0-5 amd64 [可从该版本升级:11.3.0-1]
libasound2-plugins/kali-rolling 1.2.7.1-1 amd64 [可从该版本升级:1.2.6-1]
libavfilter7/kali-rolling 7:4.4.2-1+b1 amd64 [可从该版本升级:7:4.4.2-1]
libavutil56/kali-rolling 7:4.4.2-1+b1 amd64 [可从该版本升级:7:4.4.2-1]
libbinutils/kali-rolling 2.38.90.20220713-2 amd64 [可从该版本升级:2.38-3]
libcaja-extension1/kali-rolling 1.26.1-1 amd64 [可从该版本升级:1.26.0-1]
libchromaprint1/kali-rolling 1.5.1-2+b1 amd64 [可从该版本升级:1.5.1-2]
libcrypt-ssleay-perl/kali-rolling 0.73.06-1+b5 amd64 [可从该版本升级:0.73.06-1+b4]
libcryptsetup12/kali-rolling 2:2.4.3-1+b1 amd64 [可从该版本升级:2:2.4.3-1]
libctf0/kali-rolling 2.38.90.20220713-2 amd64 [可从该版本升级:2.38-3]
libcurl4/kali-rolling 7.84.0-2 amd64 [可从该版本升级:7.82.0-2]
libdns-export1110/kali-rolling 1:9.11.19+dfsg-2.1+b1 amd64 [可从该版本升级:1:9.11.19+dfsg-2.1]
libegl-mesa0/kali-rolling 22.0.5-1 amd64 [可从该版本升级:21.3.8-1]
libevent-core-2.1-7/kali-rolling 2.1.12-stable-5+b1 amd64 [可从该版本升级:2.1.12-stable-5]
libevent-openssl-2.1-7/kali-rolling 2.1.12-stable-5+b1 amd64 [可从该版本升级:2.1.12-stable-5]
libevent-pthreads-2.1-7/kali-rolling 2.1.12-stable-5+b1 amd64 [可从该版本升级:2.1.12-stable-5]
libfido2-1/kali-rolling 1.11.0-1+b1 amd64 [可从该版本升级:1.10.0-1]
libfreerdp-client2-2/kali-rolling 2.7.0+dfsg1-1+b2 amd64 [可从该版本升级:2.7.0+dfsg1-1]
libfreerdp2-2/kali-rolling 2.7.0+dfsg1-1+b2 amd64 [可从该版本升级:2.7.0+dfsg1-1]
libgbm1/kali-rolling 22.0.5-1 amd64 [可从该版本升级:21.3.8-1]
libgcc-11-dev/kali-rolling 11.3.0-5 amd64 [可从该版本升级:11.3.0-1]
libgeos-c1v5/kali-rolling 3.11.0-1 amd64 [可从该版本升级:3.10.2-1]
libgl1-mesa-dri/kali-rolling 22.0.5-1 amd64 [可从该版本升级:21.3.8-1]
libglapi-mesa/kali-rolling 22.0.5-1 amd64 [可从该版本升级:21.3.8-1]
libglx-mesa0/kali-rolling 22.0.5-1 amd64 [可从该版本升级:21.3.8-1]
libgssapi-krb5-2/kali-rolling 1.20-1 amd64 [可从该版本升级:1.19.2-2+b1]
libgstreamer-plugins-bad1.0-0/kali-rolling 1.20.3-1+b2 amd64 [可从该版本升级:1.20.1-2]
libhdf5-103-1/kali-rolling 1.10.7+repack-4+b1 amd64 [可从该版本升级:1.10.7+repack-4]
libheif1/kali-rolling 1.12.0-2+b4 amd64 [可从该版本升级:1.12.0-2+b3]
libidn2-0/kali-rolling 2.3.3-1 amd64 [可从该版本升级:2.3.2-2]
libimobiledevice6/kali-rolling 1.3.0-6+b2 amd64 [可从该版本升级:1.3.0-6+b1]
libisc-export1105/kali-rolling 1:9.11.19+dfsg-2.1+b1 amd64 [可从该版本升级:1:9.11.19+dfsg-2.1]
libkmod2/kali-rolling 29-1+b1 amd64 [可从该版本升级:29-1]
libkrb5-3/kali-rolling 1.20-1 amd64 [可从该版本升级:1.19.2-2+b1]
libkrb5support0/kali-rolling 1.20-1 amd64 [可从该版本升级:1.19.2-2+b1]
libmariadb3/kali-rolling 1:10.6.8-1 amd64 [可从该版本升级:1:10.6.7-3]
libmongoc-1.0-0/kali-rolling 1.22.0-1 amd64 [可从该版本升级:1.21.1-1+b1]
libmongocrypt0/kali-rolling 1.5.0-1 amd64 [可从该版本升级:1.4.0-1]
libnet-dns-sec-perl/kali-rolling 1.19-1+b2 amd64 [可从该版本升级:1.19-1+b1]
libnet-ssleay-perl/kali-rolling 1.92-2 amd64 [可从该版本升级:1.92-1+b1]
libnet1/kali-rolling 1.1.6+dfsg-3.2 amd64 [可从该版本升级:1.1.6+dfsg-3.1]
libnginx-mod-http-geoip/kali-rolling 1.22.0-1 amd64 [可从该版本升级:1.18.0-9]
libnginx-mod-http-image-filter/kali-rolling 1.22.0-1 amd64 [可从该版本升级:1.18.0-9]
libnginx-mod-http-xslt-filter/kali-rolling 1.22.0-1 amd64 [可从该版本升级:1.18.0-9]
libnginx-mod-mail/kali-rolling 1.22.0-1 amd64 [可从该版本升级:1.18.0-9]
libnginx-mod-stream-geoip/kali-rolling 1.22.0-1 amd64 [可从该版本升级:1.18.0-9]
libnginx-mod-stream/kali-rolling 1.22.0-1 amd64 [可从该版本升级:1.18.0-9]
libnss-systemd/kali-rolling 251.2-7 amd64 [可从该版本升级:250.4-1]
libobjc-11-dev/kali-rolling 11.3.0-5 amd64 [可从该版本升级:11.3.0-1]
libpam-systemd/kali-rolling 251.2-7 amd64 [可从该版本升级:250.4-1]
libpipewire-0.3-0/kali-rolling 0.3.56-1 amd64 [可从该版本升级:0.3.50-2]
libpipewire-0.3-modules/kali-rolling 0.3.56-1 amd64 [可从该版本升级:0.3.50-2]
libpkcs11-helper1/kali-rolling 1.29.0-1 amd64 [可从该版本升级:1.28-1]
libpostproc55/kali-rolling 7:4.4.2-1+b1 amd64 [可从该版本升级:7:4.4.2-1]
libpq5/kali-rolling 14.4-1 amd64 [可从该版本升级:14.2-1+b3]
libpython3-dev/kali-rolling 3.10.5-3 amd64 [可从该版本升级:3.10.4-1+b1]
libpython3-stdlib/kali-rolling 3.10.5-3 amd64 [可从该版本升级:3.10.4-1+b1]
libpython3.10-dev/kali-rolling 3.10.5-1 amd64 [可从该版本升级:3.10.4-1]
libpython3.10-minimal/kali-rolling 3.10.5-1 amd64 [可从该版本升级:3.10.4-1]
libpython3.10-stdlib/kali-rolling 3.10.5-1 amd64 [可从该版本升级:3.10.4-1]
libpython3.10/kali-rolling 3.10.5-1 amd64 [可从该版本升级:3.10.4-1]
libpython3.9-minimal/kali-rolling 3.9.13-1 amd64 [可从该版本升级:3.9.12-1]
libpython3.9-stdlib/kali-rolling 3.9.13-1 amd64 [可从该版本升级:3.9.12-1]
libqt5charts5/kali-rolling 5.15.4-2 amd64 [可从该版本升级:5.15.2-2]
libqt5core5a/kali-rolling 5.15.4+dfsg-4 amd64 [可从该版本升级:5.15.2+dfsg-16+b1]
libqt5dbus5/kali-rolling 5.15.4+dfsg-4 amd64 [可从该版本升级:5.15.2+dfsg-16+b1]
libqt5designer5/kali-rolling 5.15.4-2 amd64 [可从该版本升级:5.15.2-5+b1]
libqt5gui5/kali-rolling 5.15.4+dfsg-4 amd64 [可从该版本升级:5.15.2+dfsg-16+b1]
libqt5multimedia5-plugins/kali-rolling 5.15.4-2 amd64 [可从该版本升级:5.15.2-3]
libqt5multimedia5/kali-rolling 5.15.4-2 amd64 [可从该版本升级:5.15.2-3]
libqt5multimediagsttools5/kali-rolling 5.15.4-2 amd64 [可从该版本升级:5.15.2-3]
libqt5multimediawidgets5/kali-rolling 5.15.4-2 amd64 [可从该版本升级:5.15.2-3]
libqt5network5/kali-rolling 5.15.4+dfsg-4 amd64 [可从该版本升级:5.15.2+dfsg-16+b1]
libqt5positioning5/kali-rolling 5.15.4+dfsg-2 amd64 [可从该版本升级:5.15.2+dfsg-3+b1]
libqt5printsupport5/kali-rolling 5.15.4+dfsg-4 amd64 [可从该版本升级:5.15.2+dfsg-16+b1]
libqt5qml5/kali-rolling 5.15.4+dfsg-4 amd64 [可从该版本升级:5.15.2+dfsg-10]
libqt5qmlmodels5/kali-rolling 5.15.4+dfsg-4 amd64 [可从该版本升级:5.15.2+dfsg-10]
libqt5quick5/kali-rolling 5.15.4+dfsg-4 amd64 [可从该版本升级:5.15.2+dfsg-10]
libqt5sensors5/kali-rolling 5.15.4-2 amd64 [可从该版本升级:5.15.2-2]
libqt5sql5-sqlite/kali-rolling 5.15.4+dfsg-4 amd64 [可从该版本升级:5.15.2+dfsg-16+b1]
libqt5sql5/kali-rolling 5.15.4+dfsg-4 amd64 [可从该版本升级:5.15.2+dfsg-16+b1]
libqt5svg5/kali-rolling 5.15.4-2 amd64 [可从该版本升级:5.15.2-4]
libqt5test5/kali-rolling 5.15.4+dfsg-4 amd64 [可从该版本升级:5.15.2+dfsg-16+b1]
libqt5webchannel5/kali-rolling 5.15.4-2 amd64 [可从该版本升级:5.15.2-2]
libqt5webkit5/kali-rolling 5.212.0~alpha4-19 amd64 [可从该版本升级:5.212.0~alpha4-16]
libqt5widgets5/kali-rolling 5.15.4+dfsg-4 amd64 [可从该版本升级:5.15.2+dfsg-16+b1]
libqt5x11extras5/kali-rolling 5.15.4-2 amd64 [可从该版本升级:5.15.2-2]
libqt5xml5/kali-rolling 5.15.4+dfsg-4 amd64 [可从该版本升级:5.15.2+dfsg-16+b1]
librabbitmq4/kali-rolling 0.11.0-1+b1 amd64 [可从该版本升级:0.11.0-1]
libruby3.0/kali-rolling 3.0.4-7+b1 amd64 [可从该版本升级:3.0.3-1]
libserf-1-1/kali-rolling 1.3.9-11 amd64 [可从该版本升级:1.3.9-10]
libshout3/kali-rolling 2.4.6-1+b1 amd64 [可从该版本升级:2.4.6-1]
libsnmp40/kali-rolling 5.9.3+dfsg-1 amd64 [可从该版本升级:5.9.1+dfsg-1+b1]
libspa-0.2-modules/kali-rolling 0.3.56-1 amd64 [可从该版本升级:0.3.50-2]
libssh-4/kali-rolling 0.9.6-2+b1 amd64 [可从该版本升级:0.9.6-2]
libssh2-1/kali-rolling 1.10.0-3+b1 amd64 [可从该版本升级:1.10.0-3]
libstdc++-11-dev/kali-rolling 11.3.0-5 amd64 [可从该版本升级:11.3.0-1]
libswresample3/kali-rolling 7:4.4.2-1+b1 amd64 [可从该版本升级:7:4.4.2-1]
libswscale5/kali-rolling 7:4.4.2-1+b1 amd64 [可从该版本升级:7:4.4.2-1]
libsystemd0/kali-rolling 251.2-7 amd64 [可从该版本升级:250.4-1]
libtiff5/kali-rolling 4.4.0-3 amd64 [可从该版本升级:4.3.0-7]
libtsan0/kali-rolling 11.3.0-5 amd64 [可从该版本升级:11.3.0-1]
libtss2-esys-3.0.2-0/kali-rolling 3.2.0-1+b1 amd64 [可从该版本升级:3.2.0-1]
libwebsockets16/kali-rolling 4.0.20-3+b1 amd64 [可从该版本升级:4.0.20-2]
libwinpr2-2/kali-rolling 2.7.0+dfsg1-1+b2 amd64 [可从该版本升级:2.7.0+dfsg1-1]
libxatracker2/kali-rolling 22.0.5-1 amd64 [可从该版本升级:21.3.8-1]
libxmlsec1-openssl/kali-rolling 1.2.34-2 amd64 [可从该版本升级:1.2.33-1+b1]
libyara9/kali-rolling 4.2.1-1+b1 amd64 [可从该版本升级:4.2.1-1]
libzip-dev/kali-rolling 1.7.3-1+b1 amd64 [可从该版本升级:1.7.3-1]
libzip4/kali-rolling 1.7.3-1+b1 amd64 [可从该版本升级:1.7.3-1]
linux-image-amd64/kali-rolling 5.18.5-1kali6 amd64 [可从该版本升级:5.16.18-1kali1]
mariadb-client-10.6/kali-rolling 1:10.6.8-1 amd64 [可从该版本升级:1:10.6.7-3]
mariadb-client-core-10.6/kali-rolling 1:10.6.8-1 amd64 [可从该版本升级:1:10.6.7-3]
mariadb-server-10.6/kali-rolling 1:10.6.8-1 amd64 [可从该版本升级:1:10.6.7-3]
mariadb-server-core-10.6/kali-rolling 1:10.6.8-1 amd64 [可从该版本升级:1:10.6.7-3]
medusa/kali-rolling 2.2-7+b1 amd64 [可从该版本升级:2.2-7]
mesa-vulkan-drivers/kali-rolling 22.0.5-1 amd64 [可从该版本升级:21.3.8-1]
metasploit-framework/kali-rolling 6.2.7-0kali3 amd64 [可从该版本升级:6.1.39-0kali1]
mtd-utils/kali-rolling 1:2.1.4-1+b1 amd64 [可从该版本升级:1:2.1.4-1]
ncrack/kali-rolling 0.7+debian-3+b1 amd64 [可从该版本升级:0.7+debian-3]
network-manager-l2tp-gnome/kali-rolling 1.20.2-1+b1 amd64 [可从该版本升级:1.20.2-1]
network-manager-l2tp/kali-rolling 1.20.2-1+b1 amd64 [可从该版本升级:1.20.2-1]
nginx-common/kali-rolling 1.22.0-1 all [可从该版本升级:1.18.0-9]
nginx-core/kali-rolling 1.22.0-1 amd64 [可从该版本升级:1.18.0-9]
nginx/kali-rolling 1.22.0-1 all [可从该版本升级:1.18.0-9]
open-vm-tools-desktop/kali-rolling 2:12.0.5-2 amd64 [可从该版本升级:2:12.0.0-1]
open-vm-tools/kali-rolling 2:12.0.5-2 amd64 [可从该版本升级:2:12.0.0-1]
openfortivpn/kali-rolling 1.17.3-1 amd64 [可从该版本升级:1.17.1-1]
openssh-client/kali-rolling 1:9.0p1-1+b1 amd64 [可从该版本升级:1:9.0p1-1]
openssh-server/kali-rolling 1:9.0p1-1+b1 amd64 [可从该版本升级:1:9.0p1-1]
openssh-sftp-server/kali-rolling 1:9.0p1-1+b1 amd64 [可从该版本升级:1:9.0p1-1]
openssl/kali-rolling 3.0.4-2 amd64 [可从该版本升级:1.1.1n-1]
openvpn/kali-rolling 2.6.0~really2.5.7-0kali1 amd64 [可从该版本升级:2.5.6-1]
ophcrack-cli/kali-rolling 3.8.0-3+b1 amd64 [可从该版本升级:3.8.0-3]
ophcrack/kali-rolling 3.8.0-3+b1 amd64 [可从该版本升级:3.8.0-3]
passing-the-hash/kali-rolling 0~2015.12.33 amd64 [可从该版本升级:0~2015.12.32]
perl-openssl-defaults/kali-rolling 7+b1 amd64 [可从该版本升级:5]
php8.1-cli/kali-rolling 8.1.5-1+b1 amd64 [可从该版本升级:8.1.2-1+b3]
php8.1-common/kali-rolling 8.1.5-1+b1 amd64 [可从该版本升级:8.1.2-1+b3]
php8.1-mysql/kali-rolling 8.1.5-1+b1 amd64 [可从该版本升级:8.1.2-1+b3]
php8.1-opcache/kali-rolling 8.1.5-1+b1 amd64 [可从该版本升级:8.1.2-1+b3]
php8.1-readline/kali-rolling 8.1.5-1+b1 amd64 [可从该版本升级:8.1.2-1+b3]
pipewire-bin/kali-rolling 0.3.56-1 amd64 [可从该版本升级:0.3.50-2]
pipewire/kali-rolling 0.3.56-1 amd64 [可从该版本升级:0.3.50-2]
postgresql-14/kali-rolling 14.4-1 amd64 [可从该版本升级:14.2-1+b3]
postgresql-client-14/kali-rolling 14.4-1 amd64 [可从该版本升级:14.2-1+b3]
powershell-empire/kali-rolling 4.7.0-kali-0kali1 all [可从该版本升级:4.5.4-kali-0kali1]
ppp/kali-rolling 2.4.9-1+1.1+b1 amd64 [可从该版本升级:2.4.9-1+1.1]
proxytunnel/kali-rolling 1.10.20210604-1+b1 amd64 [可从该版本升级:1.10.20210604-1]
pyqt5-dev-tools/kali-rolling 5.15.7+dfsg-1 amd64 [可从该版本升级:5.15.6+dfsg-1+b2]
python-matplotlib-data/kali-rolling 3.5.2-2 all [可从该版本升级:3.5.2-1]
python3-cryptography/kali-rolling 3.4.8-2 amd64 [可从该版本升级:3.4.8-1]
python3-debian/kali-rolling 0.1.46 all [可从该版本升级:0.1.43]
python3-dev/kali-rolling 3.10.5-3 amd64 [可从该版本升级:3.10.4-1+b1]
python3-gdal/kali-rolling 3.5.1+dfsg-1+b1 amd64 [可从该版本升级:3.4.2+dfsg-1+b2]
python3-matplotlib/kali-rolling 3.5.2-2 amd64 [可从该版本升级:3.5.2-1]
python3-minimal/kali-rolling 3.10.5-3 amd64 [可从该版本升级:3.10.4-1+b1]
python3-pyqt5/kali-rolling 5.15.7+dfsg-1 amd64 [可从该版本升级:5.15.6+dfsg-1+b2]
python3-pytest/kali-rolling 7.1.2-2 all [可从该版本升级:6.2.5-2]
python3-sympy/kali-rolling 1.10.1-3 all [可从该版本升级:1.9-1]
python3.10-dev/kali-rolling 3.10.5-1 amd64 [可从该版本升级:3.10.4-1]
python3.10-minimal/kali-rolling 3.10.5-1 amd64 [可从该版本升级:3.10.4-1]
python3.10/kali-rolling 3.10.5-1 amd64 [可从该版本升级:3.10.4-1]
python3.9-minimal/kali-rolling 3.9.13-1 amd64 [可从该版本升级:3.9.12-1]
python3.9/kali-rolling 3.9.13-1 amd64 [可从该版本升级:3.9.12-1]
python3/kali-rolling 3.10.5-3 amd64 [可从该版本升级:3.10.4-1+b1]
qt5-gtk-platformtheme/kali-rolling 5.15.4+dfsg-4 amd64 [可从该版本升级:5.15.2+dfsg-16+b1]
qt5ct/kali-rolling 1.5-1+b1 amd64 [可从该版本升级:1.5-1]
qtbase5-dev-tools/kali-rolling 5.15.4+dfsg-4 amd64 [可从该版本升级:5.15.2+dfsg-16+b1]
responder/kali-rolling 3.1.3.0-0kali1 all [可从该版本升级:3.1.2.0-0kali2]
rpcbind/kali-rolling 1.2.6-6 amd64 [可从该版本升级:1.2.6-5]
rsync/kali-rolling 3.2.4-1+b1 amd64 [可从该版本升级:3.2.4-1]
ruby3.0-dev/kali-rolling 3.0.4-7+b1 amd64 [可从该版本升级:3.0.3-1]
samdump2/kali-rolling 3.0.0-7+b1 amd64 [可从该版本升级:3.0.0-7]
skipfish/kali-rolling 2.10b-2kali5 amd64 [可从该版本升级:2.10b-2kali4]
snmp/kali-rolling 5.9.3+dfsg-1 amd64 [可从该版本升级:5.9.1+dfsg-1+b1]
snmpd/kali-rolling 5.9.3+dfsg-1 amd64 [可从该版本升级:5.9.1+dfsg-1+b1]
socat/kali-rolling 1.7.4.3-3+b1 amd64 [可从该版本升级:1.7.4.3-3]
ssldump/kali-rolling 1.4-0kali1+b1 amd64 [可从该版本升级:1.4-0kali1]
stunnel4/kali-rolling 3:5.63-1+b2 amd64 [可从该版本升级:3:5.63-1]
systemd-timesyncd/kali-rolling 251.2-7 amd64 [可从该版本升级:250.4-1]
systemd/kali-rolling 251.2-7 amd64 [可从该版本升级:250.4-1]
tcpdump/kali-rolling 4.99.1-4+b1 amd64 [可从该版本升级:4.99.1-3]
thc-ipv6/kali-rolling 3.8-1+b1 amd64 [可从该版本升级:3.8-1]
tnftp/kali-rolling 20210827-4+b1 amd64 [可从该版本升级:20210827-4]
vboot-kernel-utils/kali-rolling 0~R99-14469.B-2 amd64 [可从该版本升级:0~R99-14469.B-1]
vboot-utils/kali-rolling 0~R99-14469.B-2 amd64 [可从该版本升级:0~R99-14469.B-1]
wpasupplicant/kali-rolling 2:2.10-9+b1 amd64 [可从该版本升级:2:2.10-8]
zenity/kali-rolling 3.42.1-2 amd64 [可从该版本升级:3.42.1-1]
                                                                                                                                                           
┌──(root㉿kali)-[/home/kali/Desktop]
└─# apt install -y docker.io
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成                 
下列软件包是自动安装的并且现在不需要了:
  liblttng-ust-ctl4 liblttng-ust0
使用'sudo apt autoremove'来卸载它(它们)。
将会同时安装下列软件:
  cgroupfs-mount containerd criu libintl-perl libintl-xs-perl libmodule-find-perl libmodule-scandeps-perl libproc-processtable-perl
  libsort-naturally-perl needrestart runc tini
建议安装:
  containernetworking-plugins docker-doc aufs-tools btrfs-progs debootstrap rinse rootlesskit xfsprogs zfs-fuse | zfsutils-linux
下列【新】软件包将被安装:
  cgroupfs-mount containerd criu docker.io libintl-perl libintl-xs-perl libmodule-find-perl libmodule-scandeps-perl libproc-processtable-perl
  libsort-naturally-perl needrestart runc tini
升级了 0 个软件包,新安装了 13 个软件包,要卸载 0 个软件包,有 227 个软件包未被升级。
需要下载 64.6 MB 的归档。
解压缩后会消耗 261 MB 的额外空间。
获取:1 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling/main amd64 runc amd64 1.1.3+ds1-2 [2,612 kB]
获取:2 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling/main amd64 containerd amd64 1.6.6~ds1-1 [25.0 MB]
获取:3 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling/main amd64 tini amd64 0.19.0-1 [255 kB]                                                      
获取:4 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling/main amd64 docker.io amd64 20.10.14+dfsg1-1+b1 [35.1 MB]                                     
获取:5 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling/main amd64 cgroupfs-mount all 1.4 [6,276 B]                                                  
获取:6 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling/main amd64 criu amd64 3.17.1-1 [694 kB]                                                      
获取:7 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling/main amd64 libintl-perl all 1.26-4 [743 kB]                                                  
获取:8 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling/main amd64 libintl-xs-perl amd64 1.26-4 [41.1 kB]                                            
获取:9 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling/main amd64 libmodule-find-perl all 0.15-2 [11.1 kB]                                          
获取:10 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling/main amd64 libmodule-scandeps-perl all 1.31-1 [45.2 kB]                                     
获取:11 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling/main amd64 libproc-processtable-perl amd64 0.634-1+b1 [46.9 kB]                             
获取:12 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling/main amd64 libsort-naturally-perl all 1.03-3 [13.7 kB]                                      
获取:13 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling/main amd64 needrestart all 3.6-1 [65.4 kB]                                                  
已下载 64.6 MB,耗时 20秒 (3,197 kB/s)                                                                                                                    
正在选中未选择的软件包 runc。
(正在读取数据库 ... 系统当前共安装有 299599 个文件和目录。)
准备解压 .../00-runc_1.1.3+ds1-2_amd64.deb  ...
正在解压 runc (1.1.3+ds1-2) ...
正在选中未选择的软件包 containerd。
准备解压 .../01-containerd_1.6.6~ds1-1_amd64.deb  ...
正在解压 containerd (1.6.6~ds1-1) ...
正在选中未选择的软件包 tini。
准备解压 .../02-tini_0.19.0-1_amd64.deb  ...
正在解压 tini (0.19.0-1) ...
正在选中未选择的软件包 docker.io。
准备解压 .../03-docker.io_20.10.14+dfsg1-1+b1_amd64.deb  ...
正在解压 docker.io (20.10.14+dfsg1-1+b1) ...
正在选中未选择的软件包 cgroupfs-mount。
准备解压 .../04-cgroupfs-mount_1.4_all.deb  ...
正在解压 cgroupfs-mount (1.4) ...
正在选中未选择的软件包 criu。
准备解压 .../05-criu_3.17.1-1_amd64.deb  ...
正在解压 criu (3.17.1-1) ...
正在选中未选择的软件包 libintl-perl。
准备解压 .../06-libintl-perl_1.26-4_all.deb  ...
正在解压 libintl-perl (1.26-4) ...
正在选中未选择的软件包 libintl-xs-perl。
准备解压 .../07-libintl-xs-perl_1.26-4_amd64.deb  ...
正在解压 libintl-xs-perl (1.26-4) ...
正在选中未选择的软件包 libmodule-find-perl。
准备解压 .../08-libmodule-find-perl_0.15-2_all.deb  ...
正在解压 libmodule-find-perl (0.15-2) ...
正在选中未选择的软件包 libmodule-scandeps-perl。
准备解压 .../09-libmodule-scandeps-perl_1.31-1_all.deb  ...
正在解压 libmodule-scandeps-perl (1.31-1) ...
正在选中未选择的软件包 libproc-processtable-perl:amd64。
准备解压 .../10-libproc-processtable-perl_0.634-1+b1_amd64.deb  ...
正在解压 libproc-processtable-perl:amd64 (0.634-1+b1) ...
正在选中未选择的软件包 libsort-naturally-perl。
准备解压 .../11-libsort-naturally-perl_1.03-3_all.deb  ...
正在解压 libsort-naturally-perl (1.03-3) ...
正在选中未选择的软件包 needrestart。
准备解压 .../12-needrestart_3.6-1_all.deb  ...
正在解压 needrestart (3.6-1) ...
正在设置 runc (1.1.3+ds1-2) ...
正在设置 libmodule-find-perl (0.15-2) ...
正在设置 tini (0.19.0-1) ...
正在设置 libproc-processtable-perl:amd64 (0.634-1+b1) ...
正在设置 criu (3.17.1-1) ...
正在设置 libintl-perl (1.26-4) ...
正在设置 cgroupfs-mount (1.4) ...
update-rc.d: We have no instructions for the cgroupfs-mount init script.
update-rc.d: It looks like a non-network service, we enable it.
正在设置 containerd (1.6.6~ds1-1) ...
containerd.service is a disabled or a static unit, not starting it.
正在设置 libsort-naturally-perl (1.03-3) ...
正在设置 libmodule-scandeps-perl (1.31-1) ...
正在设置 needrestart (3.6-1) ...
正在设置 docker.io (20.10.14+dfsg1-1+b1) ...
正在添加组"docker" (GID 142)...
完成。
update-rc.d: We have no instructions for the docker init script.
update-rc.d: It looks like a non-network service, we enable it.
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /lib/systemd/system/docker.service.
Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket.
正在设置 libintl-xs-perl (1.26-4) ...
正在处理用于 libc-bin (2.33-8) 的触发器 ...
正在处理用于 man-db (2.10.2-1) 的触发器 ...
正在处理用于 kali-menu (2022.3.1) 的触发器 ...
                                                                                                                                                           
┌──(root㉿kali)-[/home/kali/Desktop]
└─# systemctl enable docker --now
Synchronizing state of docker.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable docker
                                                                                                                                                           
┌──(root㉿kali)-[/home/kali/Desktop]
└─# systemctl enable docker --no 
systemctl: 选项 ‘--no’ 含义不清;可能为: '--no-block' '--no-legend' '--no-pager' '--no-wall' '--no-reload' '--no-ask-password' '--now'
                                                                                                                                                           
┌──(root㉿kali)-[/home/kali/Desktop]
└─# systemctl enable docker --now
Synchronizing state of docker.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable docker
                                                                                                                                                           
┌──(root㉿kali)-[/home/kali/Desktop]
└─# docker   

Usage:  docker [OPTIONS] COMMAND

A self-sufficient runtime for containers

Options:
      --config string      Location of client config files (default "/root/.docker")
  -c, --context string     Name of the context to use to connect to the daemon (overrides DOCKER_HOST env var and default context set with "docker
                           context use")
  -D, --debug              Enable debug mode
  -H, --host list          Daemon socket(s) to connect to
  -l, --log-level string   Set the logging level ("debug"|"info"|"warn"|"error"|"fatal") (default "info")
      --tls                Use TLS; implied by --tlsverify
      --tlscacert string   Trust certs signed only by this CA (default "/root/.docker/ca.pem")
      --tlscert string     Path to TLS certificate file (default "/root/.docker/cert.pem")
      --tlskey string      Path to TLS key file (default "/root/.docker/key.pem")
      --tlsverify          Use TLS and verify the remote
  -v, --version            Print version information and quit

Management Commands:
  builder     Manage builds
  completion  Generate the autocompletion script for the specified shell
  config      Manage Docker configs
  container   Manage containers
  context     Manage contexts
  image       Manage images
  manifest    Manage Docker image manifests and manifest lists
  network     Manage networks
  node        Manage Swarm nodes
  plugin      Manage plugins
  secret      Manage Docker secrets
  service     Manage services
  stack       Manage Docker stacks
  swarm       Manage Swarm
  system      Manage Docker
  trust       Manage trust on Docker images
  volume      Manage volumes

Commands:
  attach      Attach local standard input, output, and error streams to a running container
  build       Build an image from a Dockerfile
  commit      Create a new image from a container's changes
  cp          Copy files/folders between a container and the local filesystem
  create      Create a new container
  diff        Inspect changes to files or directories on a container's filesystem
  events      Get real time events from the server
  exec        Run a command in a running container
  export      Export a container's filesystem as a tar archive
  history     Show the history of an image
  images      List images
  import      Import the contents from a tarball to create a filesystem image
  info        Display system-wide information
  inspect     Return low-level information on Docker objects
  kill        Kill one or more running containers
  load        Load an image from a tar archive or STDIN
  login       Log in to a Docker registry
  logout      Log out from a Docker registry
  logs        Fetch the logs of a container
  pause       Pause all processes within one or more containers
  port        List port mappings or a specific mapping for the container
  ps          List containers
  pull        Pull an image or a repository from a registry
  push        Push an image or a repository to a registry
  rename      Rename a container
  restart     Restart one or more containers
  rm          Remove one or more containers
  rmi         Remove one or more images
  run         Run a command in a new container
  save        Save one or more images to a tar archive (streamed to STDOUT by default)
  search      Search the Docker Hub for images
  start       Start one or more stopped containers
  stats       Display a live stream of container(s) resource usage statistics
  stop        Stop one or more running containers
  tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
  top         Display the running processes of a container
  unpause     Unpause all processes within one or more containers
  update      Update configuration of one or more containers
  version     Show the Docker version information
  wait        Block until one or more containers stop, then print their exit codes

Run 'docker COMMAND --help' for more information on a command.

To get more help with docker, check out our guides at https://docs.docker.com/go/guides/
                                                                                                                                                           
┌──(root㉿kali)-[/home/kali/Desktop]
└─# docker -v
Docker version 20.10.14+dfsg1, build a224086
                                                                                                                                                           
┌──(root㉿kali)-[/home/kali/Desktop]
└─# usermod -aG docker $USER
                                                                                                                                                           
┌──(root㉿kali)-[/home/kali/Desktop]
└─# docker-compose
Command 'docker-compose' not found, but can be installed with:
apt install docker-compose
Do you want to install it? (N/y)Y
apt install docker-compose
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成                 
下列软件包是自动安装的并且现在不需要了:
  liblttng-ust-ctl4 liblttng-ust0
使用'sudo apt autoremove'来卸载它(它们)。
将会同时安装下列软件:
  python3-docker python3-dockerpty
下列【新】软件包将被安装:
  docker-compose python3-docker python3-dockerpty
升级了 0 个软件包,新安装了 3 个软件包,要卸载 0 个软件包,有 227 个软件包未被升级。
需要下载 225 kB 的归档。
解压缩后会消耗 1,141 kB 的额外空间。
您希望继续执行吗? [Y/n] y
获取:1 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling/main amd64 python3-docker all 5.0.3-1 [90.2 kB]
获取:2 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling/main amd64 python3-dockerpty all 0.4.1-4 [11.4 kB]
获取:3 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling/main amd64 docker-compose all 1.29.2-1 [124 kB]
已下载 225 kB,耗时 1秒 (275 kB/s)    
正在选中未选择的软件包 python3-docker。
(正在读取数据库 ... 系统当前共安装有 300545 个文件和目录。)
准备解压 .../python3-docker_5.0.3-1_all.deb  ...
正在解压 python3-docker (5.0.3-1) ...
正在选中未选择的软件包 python3-dockerpty。
准备解压 .../python3-dockerpty_0.4.1-4_all.deb  ...
正在解压 python3-dockerpty (0.4.1-4) ...
正在选中未选择的软件包 docker-compose。
准备解压 .../docker-compose_1.29.2-1_all.deb  ...
正在解压 docker-compose (1.29.2-1) ...
正在设置 python3-docker (5.0.3-1) ...
正在设置 python3-dockerpty (0.4.1-4) ...
正在设置 docker-compose (1.29.2-1) ...
正在处理用于 kali-menu (2022.3.1) 的触发器 ...
正在处理用于 man-db (2.10.2-1) 的触发器 ...
Scanning processes...                                                                                                                                      
Scanning processor microcode...                                                                                                                            
Scanning linux images...                                                                                                                                   

Running kernel seems to be up-to-date.

Failed to check for processor microcode upgrades.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
               
┌──(root㉿kali)-[/home/kali/Desktop]
└─# docker-compose -v   
docker-compose version 1.29.2, build unknown