Docker Community Forums

Share and learn in the Docker community.

Creating hardlinks on volume is not reliable

I am running a windows container in HyperV isolation mode based on servercore:1809 on Docker Desktop The host system is a Windows 10 Pro 1809.
Furthermore, the container has a local directory of the host mounted as a volume for persistent storage.
The container executes an application that uses RocksDb. The DB is located on the mounted volume.
The problem is that telling the database to create a checkpoint is not reliable. RocksDb uses hardlinks when creating checkpoints. In about 50% of all cases I get the error “The request is not supported” from the call to the WinAPI methode “CreateHardLinkW”. When I run the application outside of the container, the same code works perfectly.
Has anyone else encountered a similar problem?