# Which Linux works best with Julia in Docker?

**URL:** <https://discourse.julialang.org/t/which-linux-works-best-with-julia-in-docker/13415>\
**Category:** General Usage\
**Created:** [August 14, 2018, 2:37am UTC](https://discourse.julialang.org/t/which-linux-works-best-with-julia-in-docker/13415 "2018-08-14T02:37:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tk3369](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tk3369/32/2824_2.png) [@tk3369](https://discourse.julialang.org/u/tk3369)\
**Post date:** [August 14, 2018, 2:37am UTC](https://discourse.julialang.org/t/which-linux-works-best-with-julia-in-docker/13415/1 "2018-08-14T02:37:18Z")

</div>

Just wondering if anyone uses docker with Julia and know which variant of Linux performs best and is easiet to work with.

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [August 14, 2018, 6:26am UTC](https://discourse.julialang.org/t/which-linux-works-best-with-julia-in-docker/13415/2 "2018-08-14T06:26:42Z")

</div>

I found Ubuntu to be quite nice, but frankly, for plain vanilla Julia it should not matter. Choose the distro you are familiar with (which is why I picked Ubuntu), or one which works with the other software you need (but again, all modern distros are quite versatile).

---

<div class="post-metadata">

**Author:** ![tk3369](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tk3369/32/2824_2.png) [@tk3369](https://discourse.julialang.org/u/tk3369)\
**Post date:** [August 14, 2018, 7:39am UTC](https://discourse.julialang.org/t/which-linux-works-best-with-julia-in-docker/13415/3 "2018-08-14T07:39:09Z")

</div>

I had always hoped for smaller ones so I tried both Alpine & ArchLinux. Neither of them works properly… I guess that’s because something’s missing. Both jessie & ubuntu work fine. I’m sticking with the mainstream for now… 🙂

---

<div class="post-metadata">

**Author:** ![laborg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/laborg/32/5474_2.png) [@laborg](https://discourse.julialang.org/u/laborg)\
**Post date:** [August 14, 2018, 7:53am UTC](https://discourse.julialang.org/t/which-linux-works-best-with-julia-in-docker/13415/4 "2018-08-14T07:53:10Z")

</div>

You can use the ubuntu-minimal, which cuts down size of the image from ~170 to ~90mb for 18.04. My initial tests using ubuntu minimal with Julia-1.0.0 were successful.

If you use ubuntu as a host you can utilize lxd:

```julia
lxc remote add --protocol simplestreams ubuntu-minimal https://cloud-images.ubuntu.com/minimal/releases/
lxc launch ubuntu-minimal:bionic

```

More information on Ubuntu minimal: [Minimal - Ubuntu Wiki](https://wiki.ubuntu.com/Minimal)  
Corresponding press release: [https://blog.ubuntu.com/2018/07/09/minimal-ubuntu-released](https://blog.ubuntu.com/2018/07/09/minimal-ubuntu-released)

---

<div class="post-metadata">

**Author:** ![lage](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lage/32/2085_2.png) [@lage](https://discourse.julialang.org/u/lage)\
**Post date:** [September 9, 2018, 3:11pm UTC](https://discourse.julialang.org/t/which-linux-works-best-with-julia-in-docker/13415/5 "2018-09-09T15:11:43Z")

</div>

Hi @tk3369,

Why about using the [official Julia Dockerhub image](https://hub.docker.com/_/julia/)?

Even though it currently has 448MB, Julia team takes care of it.

```bash
$ docker pull julia
$ docker run -it --rm julia /bin/bash
root@14b7a38c7c44:/# cat /etc/debian_version

9.5

```

Best,

André Lage.
