前言
通过Docker部署KaliLinux
拉取镜像
1
| docker pull kalilinux/kali-last-release
|
运行容器
1
| docker run --name kali -it -d kalilinux/kali-last-release
|
进入容器
1
| docker exec -it kali /bin/bash
|
更换更新源(可选)
阿里巴巴
1 2
| echo "deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib" >> /etc/apt/sources.list echo "deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib" >> /etc/apt/sources.list
|
更新软件包(精简)
1
| apt update && apt -y install kali-linux-headless
|
更新软件包(完整)
1
| apt update && apt -y install kali-linux-large
|
完成
参考文献
DockerHub——kalilinux/kali-last-release