docker / for-win

Bug reports for Docker Desktop for Windows
https://www.docker.com/products/docker#/windows
1.85k stars 285 forks source link

System.InvalidOperationException: Errno: 38='Function not implemented' #6639

Closed borgez closed 4 years ago

borgez commented 4 years ago

Expected behavior

Container started

https://ravendb.net/docs/article-page/4.2/csharp/start/installation/running-in-docker-container

Actual behavior

---> System.InvalidOperationException: Errno: 38='Function not implemented' (rc=0) - 'rvn_create_and_mmap64_file failed on FailAllocFile for '/opt/RavenDB/Server/RavenData/System/Temp/scratch.0000000000.buffers''. FailCode=FailAllocFile.

at Sparrow.Server.Platform.PalHelper.ThrowLastError(FailCodes rc, Int32 lastError, String msg) in C:\Builds\RavenDB-Stable-4.2\42038\src\Sparrow.Server\Platform\PalHelper.cs:line 35

Information

Steps to reproduce the behavior

  1. docker run --rm -p 8080:8080 -p 38888:38888 -v c:/RavenDb/Data:/opt/RavenDB/Server/RavenData --name RavenDb-WithData -e RAVEN_Setup_Mode=None -e RAVEN_License_Eula_Accepted=true -e RAVEN_Security_UnsecuredAccessAllowed=PrivateNetwork ravendb/ravendb
stephen-turner commented 4 years ago

The stack trace you have quoted seems to be all within RavenDB code. Have you tried opening a bug report with them?

nnicksize commented 4 years ago

Workaround (not that bad)

I had the same problem after updating to Docker Desktop 2.3.0.2. Uninstalling Docker Desktop and installing version 2.2.0.5 solved the problem for me.

Information

Evidence

Imho, those two points lend themselves to the idea that this issue might be related to Docker Desktop for Windows.

mat007 commented 4 years ago

This may actually be the same root cause as #6634 as at least the error message is similar.

docker-robott commented 4 years ago

Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked