Feature request for Synchronized file shares

Hello Everybody!

I don’t know if the topic was raised before in the forum.

At the moment, we’re using the Synchronized file shares for Docker Desktop. However, I would like to automate the process of adding a share and avoid users from going through the default way, which is
Settings → Resources → File Sharing and then Create Share.

I’ve tried to incorporate it into the admin-settings.json, but I had no luck with it. Has anyone done it?

Regards,

Kristian

Hello Kristian. Feature requests can be created on GitHub in the roadmap

I haven’t tried changing the admin settings json, but I would not rely on anything not supported, because it could be changed in a following version.

Thanks!
I will create a request. Apart from the request, do you have an idea if the share is only done via Docker Desktop GUI?

I don’t know any official way without the GUI, I remembered something but I must have remembered a different feature, because the documentation mentions the GUI only.

I might have misunderstood your requirements, but have you considered simply sharing a higher level folder?

Instead of individually sharing:

C:\Users\Kristian\Projects\ProjectA  
C:\Users\Kristian\Projects\ProjectB  

You could share the entire Projects folder and manage segregation within your containers:

C:\Users\Kristian\Projects  

That way, any new project or folder you add inside projects is automatically available to Docker without additional configuration.

Alternatively, if you need more dynamic control, you could also script the creation of directory junctions or mappings on the host to control what’s exposed without modifying Docker Desktop settings each time.

1 Like