docker / roadmap

Welcome to the Public Roadmap for All Things Docker! We welcome your ideas.
https://github.com/docker/roadmap/projects/1
Creative Commons Zero v1.0 Universal
1.45k stars 244 forks source link

Support synchronized file shares in kubernetes hostPath volumes #632

Open imathews opened 2 months ago

imathews commented 2 months ago

Tell us about your request Synchronized file sharing currently does not work within k8s for Docker Desktop. See https://github.com/docker/for-mac/issues/7212#issuecomment-1989454174 for additional context.

Which service(s) is this request for? Docker desktop

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? A common dev workflow is to mount a hostPath volume into a running container in kubernetes. In our case, this would be a Node.js service, where we're editing code for the service and want to efficiently reload those changes within the container.

Are you currently working around the issue? hostPath volume mounts currently work (via VirtioFS / gRPC-FUSE), but performance would be significantly improved with synchronized file share support. This would greatly improve dev workflows, since it would speed up the reload time of our services with mounted hostpath volumes.