Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If you don't have Windows Directory Sharing correctly done, you get the WORST error message #70

Open
r2-lf opened this issue May 19, 2021 · 0 comments

Comments

@r2-lf
Copy link
Contributor

r2-lf commented May 19, 2021

This is Docker's fault. But, if you don't have Docker Desktop configured to read the src\test\resources\docker directory on Windows, you get the message at the bottom.

Docker Desktop --> Settings --> Resources --> File Sharing --> add that directory.

We should be really explict about this for our friends (like me!) that use Windows Docker Desktop.

[+] Running 4/19
 - Network docker_roachnet            Created                                                                      2.3s
 - Network docker_default             Created                                                                      2.3s
 - Container docker_postgres-12_1     Creating                                                                     0.8s
 - Container docker_H2Database-1.4_1  Creating                                                                     0.8s
 - Container docker_postgres-13_1     Creating                                                                     0.8s
 - Container docker_postgres-9_1      Creating                                                                     0.8s
 - Container docker_mysql-5.7_1       Creating                                                                     0.8s
 - Container docker_postgres-10_1     Creating                                                                     0.8s
 - Container docker_mariadb-10.5_1    Creating                                                                     0.8s
 - Container docker_crdb-20.2_1       Created                                                                      0.3s
 - Container sql-server-db            Creating                                                                     0.8s
 - Container docker_postgres-9.5_1    Creating                                                                     0.8s
 - Container docker_mysql-8_1         Creating                                                                     0.8s
 - Container docker_postgres-11_1     Creating                                                                     0.8s
 - Container docker_crdb-20.1_1       Created                                                                      0.3s
 - Container docker_mysql-5.6_1       Creating                                                                     0.8s
 - Container docker_mariadb-10.3_1    Creating                                                                     0.8s
 - Container docker_crdb-20.1-init_1  Creating                                                                     0.5s
 - Container docker_crdb-20.2-init_1  Creating                                                                     0.5s
Error response from daemon: status code not OK but 500: ☺����☺♀☻FDocker.Core, Version=3.4.0.64130, Culture=neutral, PublicKeyToken=null♣ocker.Core.DockerException♀     ClassNameMessage♦Data♫InnerExceptionHelpURL►StackTraceString▬RemoteStackWatsonBuckets☺☺♥♥☺☺☺☺☺▲System.Collections.IDictionary►System.Excepti☻☻♠ocker.Core.DockerException♠♦▲Filesharing has been cancelled
♠♣�‼   at Docker.ApiServices.Mounting.FileSharing.<DoShareAsync>d__7.MoveNext() in C:\workspaces\PR-15766\src\github.com\docker\pinata\win\src\Docker.ApiServices\Mounting\FileSharing.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Docker.ApiServices.Mounting.FileSharing.<ShareAsync>d__5.MoveNext() in C:\workspaces\PR-15766\src\github.com\docker\pinata\win\src\Docker.ApiServices\Mounting\FileSharing.cs:line 53
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Docker.HttpApi.Controllers.FilesharingController.<ShareDirectory>d__2.MoveNext() in C:\workspaces\PR-15766\src\github.com\docker\pinata\win\src\Docker.HttpApi\Controllers\FilesharingController.cs:line 21
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Threading.Tasks.TaskHelpersExtensions.<CastToObject>d__1`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__15.MoveNext()
♠♠�☺8
MoveNext
Docker.ApiServices, Version=3.4.0.64130, Culture=neutral, PublicKeyToken=null
Docker.ApiServices.Mounting.FileSharing+<DoShareAsync>d__7
Void MoveNext()§‼�♠↕Docker.ApiServices
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant