Docker and link limits

Hi all,

First time here and fairly new to docker.
But we stumbled upon an issue where the build didn’t work due to ‘too many links’

"hcsshim::ImportLayer failed in Win32: An attempt was made to create more links on a file than the file system supports. (0x476)

I assume this is an OS / NTFS limit.
This happened after a ‘docker system prune’, so no dangling images were present.

But the server is used for builds so there are quite a few images on that server.
We solved it by removing some images from the system.

But the question is, are there any documentation or good resource which have details on these limits?
Also are there any configuration options / workarounds that mitigate these kind of limits?

Thanks in advance.

From the Windows containers issue tracker; Windows Server Containers hard link limit issue · Issue #38 · microsoft/Windows-Containers · GitHub

This is a known issue. It has been fixed in Windows OS and backported to Windows Server 2019 (1809 & LTSC), 19H1 and 20H1(2004). This will be part of July 2020 Windows Server update.