Closed spreedated closed 1 year ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
It's probably worth reading through #125 which has the same kind of scenario, where the problem is due to things not working as expected (or not keeping up) when volumes are mounted to a windows host filesystem.
Well, thanks for your answer, but, it does work indeed! But I wouldn't consider this as a workaround, since all data will be lost when the container is dropped.
Is there another option? - I cannot use linux as a host.
When you use linux containers on windows, mounting windows paths for the config folders is a really bad idea. It is using a compatilibility layer for ntfs, which causes lots of issues like the one you're running into. There is nothing we can do about it.
What we recommend on Windows is to use docker via compose in a wsl linux app/vm, and mount the linux paths for the config folders. Then there is no compatibility layer needed between the container and the filesystem.
You can still access that path from Windows file explorer so there is no downside.
For data and media folders, it is generally ok to mount windows paths because the compatibility layer works fine for simple read and write operations.
Simply copy the data from windows into the wsl container (in archive mode) and recreate the container with the new path. You won't lose any data.
Is there an existing issue for this?
Current Behavior
Error message on migration
Expected Behavior
I guess there shouldn't be an error on the migration process
Steps To Reproduce
Install freshly container with docker-compose. As you can see, I've tried several methods, also cleaning cache & migrate commands. Nothing seems to work.
Environment
CPU architecture
x86-64
Docker creation
Container logs