cd /vulhub/hadoop/unauthorized-yarn
加速下载环境
sudo vim /etc/docker/daemon.json
添加
{"registry-mirrors":["https://6kx4zyno.mirror.aliyuncs.com"]}
重启daoker 更新配置文件
systemctl daemon-reload
systemctl restart docker
启动
docker-compose up -d
关闭
docker-compose down
![](https://upload-images.jianshu.io/upload_images/4664072-a573f1ca985583aa.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
![](https://upload-images.jianshu.io/upload_images/4664072-4c00e8f404b1dd1c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
检测
详细参考https://blog.csdn.net/xuandao_ahfengren/article/details/107127276
![](https://upload-images.jianshu.io/upload_images/4664072-dacb292bf3e885e0.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
https://blog.csdn.net/xuandao_ahfengren/article/details/107127276