mantidproject / dockerfiles

Docker images relating to Mantid
https://hub.docker.com/u/mantidproject/
GNU General Public License v3.0
3 stars 7 forks source link

Run Docker Container from Windows #40

Closed robertapplin closed 3 years ago

robertapplin commented 3 years ago

Description This PR adds a .bat script that can be used to run a docker container if your host system environment is windows.

To Test Only test if your host system environment is windows.

  1. Run the command
    ./mantid_development.bat [OS] [source dir] [build dir] [data dir]

    Replace [OS] with centos7 and ubuntubionic in turn and make sure the container is spun up and you see a working terminal

Fixes #39

robertapplin commented 3 years ago

This PR might not be necessary because using WSL2 directly might be better for two reasons:

Disadvantage:

robertapplin commented 3 years ago

Closed because using WSL2 for a windows host system is a better choice over docker https://developer.mantidproject.org/WindowsSubsystemForLinux.html#windowssubsystemforlinux