# JLab - Custom Jupyter Lab
## Build
Simply start the docker image build with `docker build -t jlab:latest .`
## Start the container
Then, start the container with :
`docker run --name jlab -e RESTARTABLE=yes -e JUPYTER_ENABLE_LAB=yes -e GEN_CERT=yes -e GRANT_SUDO=yes --user root -p 8888:8888 -v ./notebooks:/home/jovyan/work jlab:latest`
- `RESTARTABLE=yes` will allow you to restart jupyter lab without shutting down the container
- `JUPYTER_LAB=yes` start the lab instead of a classic notebook (file exporer, better CSV display...)
- `GEN_CERT=yes` will enable HTTPS and Jupyter will create a key pair in order to provide SSL/TLS encryption for the webui
- `-v ./notebooks:/home/jovyan/work` will map local folder with notebooks default location in the container. You will be able to locally save your work !
> By default, jupyter is running under `jovyan` user.
> If you want to run some commands with elevated root user or with sudo, you can add `-e GRANT_SUDO=yes --user root`. Then `jovyan` user will be able to run sudo commands
[See basic options for container](https://jupyter-docker-stacks.readthedocs.io/en/latest/using/common.html)
[See full documentation](https://jupyter-docker-stacks.readthedocs.io/en/latest/)
## What's different with this image ?
### Kernels
The JLab image include :
- Python kernel
- Powershell kernel (v7.0)
- LaTex support
### Plugins, themes and extensions
The JLab image include some Jupyter plugins :
- [jupyter-archive](https://github.com/jupyterlab-contrib/jupyter-archive/) to manage archives files from the webui
- [jupyterlab-git](https://github.com/jupyterlab/jupyterlab-git) to manage Git repositories
- [powershell_kernel](https://github.com/vors/jupyter-powershell) to support Powershell 7.0
- [jupyterlab-spellchecker](https://github.com/jupyterlab-contrib/spellchecker) to include a spell checker
- [jupyterlab-lsp](https://github.com/krassowski/jupyterlab-lsp) to provide more IDE functionalities
The JLab image include some extra themes :
- [JLDracula](https://github.com/dracula/jupyterlab), famous Dracula theme
- [jupyterlab-horizon-theme](https://github.com/mohirio/jupyterlab-horizon-theme), another theme
- [jupyterthemes](https://github.com/dunovank/jupyter-themes), a bundle of themes for the webui
- [jupyterlab_city_lights-theme](https://github.com/yudai-nkt/jupyterlab_city-lights-theme), nother theme
The JLab image include few Jupyter Lab extensions :
- [jupyterlab-topbar-extension](https://github.com/jtpio/jupyterlab-topbar), to add a customizable top bar
- [jupyterlab-theme-toogle](https://github.com/jtpio/jupyterlab-theme-toggle), to add a switch (dark/light theme) on the top right corner
- [@jupyterlab/toc](https://github.com/jupyterlab/jupyterlab-toc) to generate Markdown table of content
没有合适的资源?快使用搜索试试~ 我知道了~
JLab:自定义Jupyter Lab Dockerfile
共2个文件
md:1个
dockerfile:1个
需积分: 10 3 下载量 121 浏览量
2021-04-04
02:23:16
上传
评论
收藏 2KB ZIP 举报
温馨提示
JLab-自定义Jupyter实验室 建造 只需使用docker build -t jlab:latest .开始docker build -t jlab:latest .镜像构建docker build -t jlab:latest . 启动容器 然后,使用以下命令启动容器: docker run --name jlab -e RESTARTABLE=yes -e JUPYTER_ENABLE_LAB=yes -e GEN_CERT=yes -e GRANT_SUDO=yes --user root -p 8888:8888 -v ./notebooks:/home/jovyan/work jlab:latest RESTARTABLE=yes您可以在不关闭容器的情况下重新启动Jupyter Lab JUPYTER_LAB=yes ,而不是传统的笔记本开始实验(文件浏览器,更好的CS
资源推荐
资源详情
资源评论
收起资源包目录
JLab-master.zip (2个子文件)
JLab-master
Dockerfile 2KB
README.md 3KB
共 2 条
- 1
资源评论
蜜蜜蜜蜜糖
- 粉丝: 18
- 资源: 4606
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功