用的官方的 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 友