How to generate a file of a specific size under linux?
truncate -s 1024M filename[……]
如果部署在Docker中的Jenkins报上述错误,修改方法:
Nginx的location配置中添加
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP[......]
https://mirror.xmission.com/jenkins/war-stable/
/etc/docker/daemon.json
文件,如果没有就创建,文件中加入registry-mirrors
{
"registry-mirrors": ["https://docker.mirrors.ustc.edu.cn", "http://hub-mirror.c.163.com[......]