# Using hail with windows subsystems for linux

**URL:** <https://discuss.hail.is/t/using-hail-with-windows-subsystems-for-linux/1426>\
**Category:** Hail Query & hailctl\
**Created:** [May 29, 2020, 4:47am UTC](https://discuss.hail.is/t/using-hail-with-windows-subsystems-for-linux/1426 "2020-05-29T04:47:02Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![danking](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/danking/32/43_2.png) [@danking](https://discuss.hail.is/u/danking)\
**Post date:** [May 29, 2020, 12:57pm UTC](https://discuss.hail.is/t/using-hail-with-windows-subsystems-for-linux/1426/3 "2020-05-29T12:57:20Z")

</div>

@ozyurtf, regarding a GNU/Linux VM, I recommend investigating Docker for Windows. It makes it easy and quick to run GNU/Linux on Windows. You can use [this Dockerfile](https://github.com/danking/docker-hail/blob/master/Dockerfile).

If you’ve never used Docker before, you should check out the [Docker orientation and set up](https://docs.docker.com/get-started/).

If you want to use Jupyter Notebooks, you’ll need a Dockerfile for Jupyter Notebooks. Be sure to update the hail version to the latest version!

```bash
FROM python:3.6.9-slim-stretch
# re: mkdir, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863199#23
RUN mkdir -p /usr/share/man/man1 && \
    apt-get update && apt-get install -y \
    openjdk-8-jre-headless \
    && rm -rf /var/lib/apt/lists/* && \
    pip3 --no-cache-dir install hail==0.2.41 ipython jupyter
ENTRYPOINT ["jupyter"]
CMD []

```

Start Jupyter like this via PowerShell:

```bash
docker run -p 8888:8888 hail-jupyter notebook --ip=0.0.0.0 --allow-root

```

You’ll probably want to mount a Windows directory, like your documents folder, into the Docker container. You can learn more about that [here](https://rominirani.com/docker-on-windows-mounting-host-directories-d96f3f056a2c).

---

_[View the full topic](https://discuss.hail.is/t/using-hail-with-windows-subsystems-for-linux/1426)._
