https://hub.docker.com/r/booyaabes/kali-linux-full
https://github.com/Booyaabes/kali-linux-full-container
https://hub.docker.com/r/jgamblin/kalibrowser-lxde/
应用: tools -> 添加服务: kali
镜像: jgamblin/kalibrowser-lxde:latest
卷:
/data/file:/data/file
端口(http):8090-6080
保存ip: 升级或替换 不变
主机名: 使用容器名称
===========说明========
apt-get install gdebi # 辅助安装软件工具,有了gdebi 这样安装其他软件时,可以节省好多时间。直接可以图形化安装 deb 的安装包
# 安装firefox新版本
dpkg --get-selections | grep firefox # 查看安装的firefox版本
apt-get purge firefox-esr # 卸载
apt-get purge firefox-locale-zh-hans
dpkg --get-selections | grep firefox
cd /data/file/soft/src # http://www.firefox.com.cn/download/
tar -xvf Firefox-latest-x86_64.tar.bz2 -C /usr/local/
ln -s /usr/local/firefox /usr/bin/firefox # 快捷方式
vi /etc/apt/sources.list
cat >> /etc/apt/sources.list<<EOF
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
EOF
apt-get update # 取回更新的软件包列表信息
apt-get upgrade # 进行一次升级
apt-get clean # 清除缓存索引
apt-get update # 更新索引文件
apt-get install fcitx-googlepinyin -y # 安装Google拼音
apt-get install -f
apt-get upgrade --allow-unauthenticated # 更新实际的软件包文件
apt-get dist-upgrade --allow-unauthenticated # 根据依赖关系更新
apt-get install kali-linux-all # 安装所有kali工具包
apt-get install linux-headers-$(uname -r) # 内核更新
apt -y install kali-desktop-xfce # 桌面
update-alternatives --config x-session-manager
# 安装完成后进行桌面切换, 输入3启动xfce4后重启系统: 2 /usr/bin/xfce4-session 40 manual mode
签名:这个人很懒,什么也没有留下!