Github: https://github.com/weizj2000/jupyterlab-docker.git
集成conda python
支持挂载外部conda env, 例如外部python 环境目录 /opt/conda/envs/app,挂载到容器中.
操作如下:
docker run -d -p18888:8888 -v /opt/conda/envs/app:/opt/conda/envs/llm
浏览器http://localhost:18888, 密码weizhanjun123
services:
jupyter:
image: weizhanjun/jupyterlab:cuda11.7.1-ubuntu20.04-conda
volumes:
- ./data/conda/llm:/opt/conda/envs/llm
- ./data/jupyter:/opt/jupyter
- ./data/config:/root/.jupyter
ports:
- 18007:8888
deploy:
resources:
reservations:
devices:
- driver: nvidia
device_ids: [ '7' ]
capabilities: [ gpu ]
restart: always
Content type
Image
Digest
sha256:acdebf278…
Size
9.8 GB
Last updated
over 2 years ago
docker pull weizhanjun/jupyterlab:torch2.2-cuda12.3-ubuntu22.04