问题现象
library initialization failed - unable to allocate file descriptor table - out of memory
解决方案
$ sudo vim /usr/lib/systemd/system/docker.servi[......]
library initialization failed - unable to allocate file descriptor table - out of memory
$ sudo vim /usr/lib/systemd/system/docker.servi[......]
How to create an openwrt container on Docker.[……]
如果部署在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[......]