获取kali
系统环境
初始账号密码:kali kali,root密码:kali
换源(aliyun)
vim /etc/apt/sources.list
deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
apt-get update
apt-get upgrade
安装docker
apt install docker.io
docker version
安装 docker-compose