Docker, write once and should run everywhere. In reality on windows it is often impossible to download packages when building an image, plus the networking behaves completely differently. This docker image is intended for people that want to use docker on windows without these problems.
- Passing a command:
docker run --privileged -v "%cd%:/workspace" -it windows-container-environment docker run --rm hello-world - Passing a docker-compose file path:
docker run --privileged -v "%cd%:/workspace" -it windows-container-environment docker-compose.yml - Starting the interactive shell:
docker run --privileged -v "%cd%:/workspace" -it windows-container-environment(NOTE: currently not working)
Always run with the --privileged flag. Also remember to bind the volume 'workspace' to the directory you are working in with -v "%cd%:/workspace".