Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Installation¶
docker-compose can be installed using the following command on Ubuntu.
:::bash
wajig install docker-composeAnd docker -compose can be installed using brew on macOS.
:::bash
brew install docker-composeExamples¶
version: '3'
services:
jupyterhub-ds:
image: "dclong/jupyterhub-ds"
ports:
- "8000:8000"
environment:
- DOCKER_USER=dclong
- DOCKER_USER_ID=1000
- DOCKER_PASSWORD=dclong
- DOCKER_GROUP_ID=1000
- DOCKER_ADMIN_USER=dclong
entrypoint: /scripts/sys/init.shShell Commands¶
Shell commands cannot be used in a Docker-Compose file or a env file directly,
which is a big limitation of Docker-Compose.
Nvidia GPU Support¶
Enabling GPU access with Compose
Environment Variables¶
https://
NFS¶
https://
References¶
https://
Using Docker-Compose, how to execute multiple commands
https://
https://