-
DescriptionI am trying to use the docker container on a windows system, but it does not seem to accept a windows file system. I tried multiple varations of "" and the same command works on linux fine (in my CD). a few examples are:
Or am I doing something wrong here? Expected behaviorDatabase gets filled like on linux Actual behavior
Steps to reproducerun on windows one of the following, with the SeedFolder being
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @modmoto, Please try to use something like: docker run --rm --network=host -v C:/DatabaseSeed:/data -w /data pkosiec/mongo-seeding Unfortunately, I don't have a Windows machine to try it by myself. Please let me know if that works. Cheers! |
Beta Was this translation helpful? Give feedback.
Hi @modmoto,
The error
Error response from daemon: ...
comes from Docker, not from Mongo Seeding container. I think you specify the destination path incorrectly. Destination path is the path in the Linux container you run (Mongo Seeding is a container based on Linux Alpine, so it has linux filesystem on it).Please try to use something like:
Unfortunately, I don't have a Windows machine to try it by myself. Please let me know if that works.
Cheers!