4 MINDS

4MINDS Gestão de Conhecimento

docker - unable to allocate file descriptor table


error:


library initialization failed - unable to allocate file descriptor table - out of memory.


fix:


$ sudo vim /usr/lib/systemd/system/docker.service

>>>
#change this line
ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
#to
ExecStart=/usr/bin/dockerd --default-ulimit nofile=65536:65536 -H fd:// --containerd=/run/containerd/containerd.sock
<<<

$ sudo systemctl daemon-reload
$ sudo systemctl restart docker