When attempting a docker build, and new changes need to be pulled (not using cache) the build will fail with the following error:
“hcsshim::ImportLayer - failed failed in Win32: An attempt was made to create more links on a file than the file system supports. (0x476)” error=“hcsshim::ImportLayer - failed failed in Win32: An attempt was made to create more links on a file than the file system supports. (0x476)” importFolderPath=“C:\ProgramData\docker\tmp\hcs798069355” path=“\\?\C:\ProgramData\docker\windowsfilter\60b55ea6ef70af25a5b1512dee06b5225ad7cdc55af15db62f10d738ed735166” hcsshim::ImportLayer - failed failed in Win32: An attempt was made to create more links on a file than the file system supports. (0x476)"
The problem can be worked around by running a docker system prune -a.
Has anyone run into this before and can point me to some documentation or concepts that would help me discover why this happening?
Version:
Client: Docker Engine - Enterprise
Version: 19.03.2
API version: 1.40
Server: Docker Engine - Enterprise
Engine:
Version: 19.03.2
API version: 1.40 (minimum version 1.24)
Docker Info
Client:
Debug Mode: false
Plugins:
cluster: Manage Docker clusters (Docker Inc., v1.1.0-8c33de7)
Server:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 27
Server Version: 19.03.2
Storage Driver: windowsfilter
Windows:
Logging Driver: json-file
Plugins:
Volume: local
Network: ics l2bridge l2tunnel nat null overlay transparent
Log: awslogs etwlogs fluentd gcplogs gelf json-file local logentries splunk syslog
Swarm: inactive
Default Isolation: process
Kernel Version: 10.0 17763 (17763.1.amd64fre.rs5_release.180914-1434)
Operating System: Windows Server 2019 Datacenter Version 1809 (OS Build 17763.805)
OSType: windows
Architecture: x86_64
CPUs: 4
Total Memory: 16GiB
Name: tc-win4
ID: VGDF:PGKH:EI5B:ESK5:7DR7:FKYV:A7QH:ZXUA:HUPM:SRRN:HY7Y:2GN3
Docker Root Dir: C:\ProgramData\docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false