Issue type: Windows Containers, persistent storage
OS Version, build: Windows 10, Docker Desktop 22.214.171.124
App version: 18.09
Hello everyone, we are using Docker with Linux containers in production for over a year and I spent last month creating windows containers of all our software.
By now I have it all OK and running with one exception.
When using Linux containers, I am using volumes as a permanent storage for data.
For example: I have a Linux container running MariaDB and DATA (where all data is stored) mounted as a volume. When I docker-compose down all the system and the docker-compose up the system, I have all the data. No problem.
When using Windows containers I am not able to achieve the same functionality. When I use volumes (for example that DATA directory) it overwrites everything that was previously in the DATA directory (in the container) and the DATA directory is empty.
Does anyone achieve persistent storage ,lets say of complete c:\ with Windows Containers?
I tried everything and read everything I found and find this impossible for now.