Docker Community Forums

Share and learn in the Docker community.

Add IHaskell to jupyter docker-compose

Hello everyone. I have a beautifuly working docker container running jupyter lab (the data science one). I want to add the IHaskell kernel to jupyter. how would i go about doing that?

I made this docker-compose file for a basic Ihaskell enviorment, but it doesnt have persissent files and many other features. I just installed docker yesterday so I don’t know much =/.

Any help would be grealy appreciated.

Heres the docker-compose for my jupyter/datascience-notebook container:

version: ‘3’
services:
lab:
image: jupyter/datascience-notebook
ports:
- “8888:8888”
command: “start-notebook.sh”
user: root
environment:
- JUPYTER_ENABLE_LAB=1
- GRANT_SUDO=yes
- NB_USER=jovyan
- NB_UID=1008
- NB_GID=1011
- CHOWN_HOME=yes
- CHOWN_HOME_OPTS=-R
volumes:
- ./jupyter-notebooks:/home/jovyan/work

Heres the docker-compose for my gibiansky/ihaskell container:

version: ‘3’
services:
ihaskell:
image: gibiansky/ihaskell
ports:
- “8888:8888”