Portainer running on Docker Desktop for Windows 2.1.0.1 (stable)
How do I attach/mount windows folders to the container?
Portainer running on Docker Desktop for Windows 2.1.0.1 (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 https://docs.docker.com/storage/volumes/ 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 http://127.0.0.1:9000/#/volumes )
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.