SQL Server Demo Environment on Docker Desktop (Win 10): DB storage und upgrade paths
Performance of SQL Server using shares to host data files is almost always poor, regardless of the underlying storage subsystem. You should be mounting a host directory as a volume in your docker container to get better performance. See this link for more information.