Skip to content

17言語が扱えるJupyterLabをDockerにインストールします.

サポートしている言語

以下の言語が対応してます.

LanguagesVersionjupyter kernel
Python3.8.6IPython
C#(.Net5)9.0.NET Interactive
Elixir1.11.2ierl
ErlangOTP 23.2.1ierl
F#(.Net5)5.0.NET Interactive
Go1.15.6Gophernotes
Java1.8.0_152SciJava Jupyter Kernel
JavaScript(Node.js)14.15.3tslab
Julia1.5.3IJulia
Kotlin1.4.30jupyter-kotlin
Powershell(.Net5)7.0.3.NET Interactive
R4.0.3IRKernel
Ruby3.0.0IRuby
Rust1.49.0EvCxR Jupyter Kernel
Scala2.13.3almond
SparqlSPARQL kernel
Typescript4.1.3tslab

インストール

HeRoMo/jupyter-langsを落として,docker-composeでイメージをPullします.
僕はdocker-compose.ymlを以下のように書き換えました.

version: "3"
services:
  jupyter:
    image: ghcr.io/heromo/jupyter-langs:latest
    volumes:
      - ./notebooks:/jupyter/notebooks
    ports:
      - 8050:8050 # for Dash
      - 85:8888 # for Jupyterlab

サイズが10GB弱もありますのでPullまでに時間がかかります.
コンテナが立ち上がったら http://localhost:85/ にアクセスすると Jupyter Lab が開きます.

$ git clone https://github.com/HeRoMo/jupyter-langs.git
$ cd jupyter-langs
$ docker-compose up

まとめ

17言語が扱えるJupyterLabをDockerにインストールしました.
s 追加でNimも入れてみたいです.

参考サイト

17言語をぶち込んだJupyter LabのDockerイメージを作ってみた
HeRoMo/jupyter-langs