You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not able to mount a repo in docker with gvfs.
Error:
Cloning...Succeeded
Fetching commits and trees from origin (no cache server)...Succeeded
Attaching ProjFS to volume...Failed. Run 'gvfs log C:\project\Solutions' for more info.
GVFS.Service is not responding. Run 'sc start GVFS.Service' from an elevated command prompt to ensure it is running.
Even running the commands as container admin still fails.
When I run the powershell command:
Get-service gvfs.service
Status Name DisplayName
------ ---- -----------
Stopped GVFS.Service gvfs.service
It shows it has stopped. When trying to restart it, it fails to start.
restart-service : Failed to start service 'gvfs.service (GVFS.Service)'.
At line:1 char:1
+ restart-service gvfs.service
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.ServiceProcess.ServiceControl
ler:ServiceController) [Restart-Service], ServiceCommandException
+ FullyQualifiedErrorId : StartServiceFailed,Microsoft.PowerShell.Commands
.RestartServiceCommand
Here are mount logs, scrubbed my git links for personal reasons:
[2020-09-22 10:44:39.0016 -07:00] ExecuteMount (Start) {"Version":"1.0.20210.1","EnlistmentRoot":"C:\\project\\Solutions","Remote":"<SCRUBBED>","ObjectsEndpoint":"<SCRUBBED>","Unattended":false,"IsElevated":true,"NamedPipeName":"GVFS_C_\\PROJECT\\SOLUTIONS","EnlistmentRootPathParameter":"C:\\project\\Solutions"}
[2020-09-22 10:44:41.7156 -07:00] MountVerb_Execute_EnablingKernelDriverViaService {"KernelDriver.IsReady_Error":"","Message":"Service will retry"}
[2020-09-22 10:44:44.7210 -07:00] Error {"ErrorMessage":"GVFS.Service is not responding. Run 'sc start GVFS.Service' from an elevated command prompt to ensure it is running."}
[2020-09-22 10:44:44.7210 -07:00] ExecuteMount (Stop) {"DurationMs":6125}
Docker version 19.03.12, build 48a66213fe
Dockerfile:
Currently trying to create a docker build environment for enterprise scale repos. We can't afford to download 20GB+ size repos.
Perhaps you would still be interested in Scalar which uses the same protocol as VFS for Git (when cloning from Azure Repos) but doesn't have the requirement of a filesystem driver? If you are doing a build that requires most of the files in the working directory, then consider running the following:
I am not able to mount a repo in docker with gvfs.
Error:
Even running the commands as container admin still fails.
When I run the powershell command:
It shows it has stopped. When trying to restart it, it fails to start.
Here are mount logs, scrubbed my git links for personal reasons:
Docker version 19.03.12, build 48a66213fe
Dockerfile:
The text was updated successfully, but these errors were encountered: