Mounting host directories

Portainer running on Docker Desktop for Windows (stable)

How do I attach/mount windows folders to the container?

I understand, you want your container to access data that are in a folder of you Windows machine.

To do this, you must refer to DOCKER VOLUME documentation and adjust your Dockerfile accordingly.

Warning : Volumes must be set before running your container (you cannot not modify container description after start).

Volumes will then be accessible in Portainer through User interface (ex: locally )

I have a similar situation here. Id like to create a template (mysql), but not sure which path in the container and host field would be used as map volume.

Please help.