Centos安装docker+vulhub搭建全过程及报错处理
1、CenterOS下载
https://vault.centos.org/7.8.2003/isos/x86_64/

2、VMware启用chux报错
VMware Workstation 与 Device/Credential Guard 不兼容。在禁用 Device/Credential Guard 后,可以运行

解决办法参考:http://www.bubuko.com/infodetail-3314116.html
(3)虚拟机需要上网下载各种安装包,所以需要配置上网。

(4)开始安装docker
先安装Docker,在安装docker-compose。
参考链接:https://www.freeaihub.com/post/2377.html
(5)Docker安装chmod
chomd +x /usr/local/bin/docker-compose

docker run cmd.cat/chmod chmod
(6)安装vulhub
cd /CVE#进入靶机管理文件夹
git clone https://github.com/vulhub/vulhub.git

如果出现报错,git 推送出现;fatal: The remote end hung up unexpectedly" ,重复测试。或者参考https://blog.csdn.net/weixin_38450840/article/details/80701173
(6)启用环境,安装完成,之后进入你想建立的靶场环境
docker-compose up -d //建立环境
docker-compose down//关闭环境