Docker fails to create container

Hello Docker Community,

I am currently facing the issue where “/containers/create” endpoint does not return response. Happens sporadically and only lasts for 10-20 minutes.

In logs I can see this error:

FIXME: Got an API for which error does not match any expected type!!!: write unix /var/run/docker.sock->@: write: broken pipe" error_type="*net.OpError" module=api

I am not sure what can be causing broken pipe error or if it is actually related to the issue. Does anybody have a clue how to fix this?

Thank you!