Vuhub问题
✒️ 问题描述
Kali中搭建vulhub漏洞复现环境是时由于没有docker镜像加速器而导致vulhub images git不下来。
???? 解决方案
配置免费Docker镜像加速器
Ubuntu
sudo mkdir -p /etc/docker sudo tee /etc/docker/daemon.json <<-'EOF' { "registry-mirrors": ["https://l10nt4hq.mirror.aliyuncs.com"] } EOF sudo systemctl daemon-reload sudo systemctl restart docker
Centos和Kali
sudo mkdir -p /etc/docker sudo tee /etc/docker/daemon.json <<-'EOF' { "registry-mirrors": ["https://l10nt4hq.mirror.aliyuncs.com"] } EOF sudo systemctl daemon-reload sudo systemctl restart docker
配置完之后继续git
git clone https://github.com/vulhub/vulhub.git
换镜像
GitHub上下载很慢,用码云的镜像
git clone https://gitee.com/puier/vulhub.git