用的官方的 docker 镜像:
kalilinux/kali-last-release
使用教程: https://www.kali.org/docs/containers/using-kali-docker-images/
网站有提示: Please note, all the images below do not come with the “default” metapackage. You will need to apt update && apt -y install kali-linux-headless.
docker 的镜像不包括 metapackage 包,需要 apt 安装。
可是在这个镜像里面 apt 装不上任何软件
报错: Get:1 http://kali.download/kali kali-rolling InRelease [30.6 kB] Err:1 http://kali.download/kali kali-rolling InRelease At least one invalid signature was encountered. Reading package lists... Done W: GPG error: http://kali.download/kali kali-rolling InRelease: At least one invalid signature was encountered. E: The repository 'http://http.kali.org/kali kali-rolling InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
谷歌之后一直安装认证,但最后问题还是无法解决。
求教 v 友
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.