deepin docker安装kali

$ sudo docker search kali
选择第一个
$ sudo docker pull kalilinux/kali-linux-docker
$ sudo docker run -dt --name kali kalilinux/kali-linux-docker
$ sudo docker exec -it kali /bin/bash

换源

$ vi /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 

kali镜像关闭后

$ sudo docker start kali
$ sudo docker exec -it kali /bin/bash

你可能感兴趣的:(deepin docker安装kali)