Skip to content

Latest commit

 

History

History

README.md

One-Off Coder Logo

Intro

A collection of Docker containers to be used with the corresponding online books for learning data science, computer science and coding!

Running the containers

Install docker-compose

You need to install docker-compose. To install docker compose on *nix systems or other systems.

sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

docker-compose --version

Run

To run the containers in the foreground. Hit CTRL-C to quit.

docker-compose up

To access the Jupyter Lab environments.

To run the containers in the background.

docker-compose up -d 
docker-compose ps 
docker-compose down

Some useful commands.

# get realtime events from docker containers
docker-compose events

# observe status e.g. health
docker ps

Scripts and EOL

To fix EOL issues, use the following command.

sed -i -e 's/\r$//' *.sh