# Julia, Pluto and Docker Images

**URL:** <https://discourse.julialang.org/t/julia-pluto-and-docker-images/75264>\
**Category:** General Usage\
**Tags:** question, docker, pluto\
**Created:** [January 27, 2022, 2:02am UTC](https://discourse.julialang.org/t/julia-pluto-and-docker-images/75264 "2022-01-27T02:02:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![timothyhartzog](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/timothyhartzog/32/18562_2.png) [@timothyhartzog](https://discourse.julialang.org/u/timothyhartzog)\
**Post date:** [January 27, 2022, 2:02am UTC](https://discourse.julialang.org/t/julia-pluto-and-docker-images/75264/1 "2022-01-27T02:02:31Z")

</div>

Going forward the desire 9s to build a simulation of Neonatal Invasive Ventilator during resuscitation using Julia, Pluto and use docker images as a distribution method for the beta viewing. I plan to use VS Code as the code editor.  
Since am coming from the physician side and not a pure computer science person. Here is what I want is to create a docker image with Julia, Pluto and run the Docker image from Docker Desktop for the Apple mac pro silicon version. I am having trouble creating a Julia image that can run Pluto from the Docker Image and using my chrome browser from my Mac os desktop.

I am failing to create an image that can do this, my goal is to avoid installing Pkg’s into the mac os system, so if I goof it will not kill my machine. The corrupted Docker file is deleted and started over.  
I am failing at creating the Docker file.  
Can someone point me a pre-built image or a detailed blog post on this area?

Thanks

---

<div class="post-metadata">

**Author:** ![maharvey](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@maharvey](https://discourse.julialang.org/u/maharvey)\
**Post date:** [January 27, 2022, 2:46am UTC](https://discourse.julialang.org/t/julia-pluto-and-docker-images/75264/2 "2022-01-27T02:46:54Z")

</div>

In your Dockerfile, use the Run command to install the pkgs that you need. For the package Plots you would add the following to your Dockerfile:

RUN julia - e "import Pkg; Pkg.add(“Plots)”

---

<div class="post-metadata">

**Author:** ![lungben](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lungben/32/12314_2.png) [@lungben](https://discourse.julialang.org/u/lungben)\
**Post date:** [January 27, 2022, 7:38am UTC](https://discourse.julialang.org/t/julia-pluto-and-docker-images/75264/3 "2022-01-27T07:38:07Z")

</div>

[https://github.com/JuliaPluto/docker-stacks](https://github.com/JuliaPluto/docker-stacks)

---

<div class="post-metadata">

**Author:** ![ImreSamu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/imresamu/32/20677_2.png) [@ImreSamu](https://discourse.julialang.org/u/ImreSamu)\
**Post date:** [January 27, 2022, 1:29pm UTC](https://discourse.julialang.org/t/julia-pluto-and-docker-images/75264/4 "2022-01-27T13:29:33Z")

</div>

> [GitHub - JuliaPluto/docker-stacks: Run pluto on Docker](https://github.com/JuliaPluto/docker-stacks)

thank you for the link

the only small problem - it is not updated to the latest Julia ( `1.7.1` )  
now:

- …`FROM julia:1.6.0`
- …`FROM julia:1.6.1 as builder`

probably it is not so hard to update to the latest Julia.

---

<div class="post-metadata">

**Author:** ![timothyhartzog](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/timothyhartzog/32/18562_2.png) [@timothyhartzog](https://discourse.julialang.org/u/timothyhartzog)\
**Post date:** [January 27, 2022, 4:09pm UTC](https://discourse.julialang.org/t/julia-pluto-and-docker-images/75264/5 "2022-01-27T16:09:26Z")

</div>

Thank you for the help.  
Question, Can a Docker image put a virus, trojan horse, malware on to my computer?  
Is there any way to write an interactive blog in Pluto and have it widely available on the web for non-computer people?

---

<div class="post-metadata">

**Author:** ![ImreSamu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/imresamu/32/20677_2.png) [@ImreSamu](https://discourse.julialang.org/u/ImreSamu)\
**Post date:** [January 27, 2022, 8:02pm UTC](https://discourse.julialang.org/t/julia-pluto-and-docker-images/75264/6 "2022-01-27T20:02:23Z")

</div>

> [@timothyhartzog](#):
>
> Is there any way to write an interactive blog in Pluto and have it widely available on the web for non-computer people?

my suggestion:

self hosting: rent a cheap VPS ~ 5 - 20 EUR / month

- contabo: [Contabo🥇Cloud VPS & Dedicated Servers for a Price You'll Love](https://contabo.com/en/)
  - ~ 5 EUR / month ~ 4Vcores + 8GB RAM
  - US : [https://contabo.com/en/locations/united-states/](https://contabo.com/en/locations/united-states/)

- hetzner : [https://www.hetzner.com/cloud?country=gb](https://www.hetzner.com/cloud?country=gb)
- digitalocean: [https://www.digitalocean.com/](https://www.digitalocean.com/)
- scaleway: [The cloud of choice | Scaleway](https://www.scaleway.com/en/)
- …

or read the related thread:

- [Hosting interactive pluto notebook on web/Github](https://discourse.julialang.org/t/hosting-interactive-pluto-notebook-on-web-github/47167)
