pytest+requests+Python3.7+yaml+Allure+Jenkins+docker实现接口自动化测试 (9)

通过修改daemon配置文件/etc/docker/daemon.json来使用阿里云镜像加速器

sudo mkdir -p /etc/docker sudo tee /etc/docker/daemon.json <<-\'EOF\' { "registry-mirrors": ["https://XXXX.XXXX.aliyuncs.com"] } EOF sudo systemctl daemon-reload sudo systemctl restart docker

查看阿里云加速器是否配置成功

vi /etc/docker/daemon.json

2、安装Jenkins

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/zwjpgg.html