After utilizing the docker run command frequently the docker daemons dies with the following error:
docker: Error response from daemon: Mounts denied: 9p: Sys_error(“Thread.create: Resource temporarily unavailable”).
This message is fixed by restarting docker.
The operation that is causing the issue is:
This operation is called many times because we rely on it to run specific commands inside a container to ensure same outputs across different environments and also to use tools that have been installed inside the container.
We’ve experiments with adding
--ulimit nofile=1048576:1048576 as args in the docker run command, but these have not helped as we still receive this error message.
Any idea what is happening? Is this a system issue for docker for mac?