This repo holds a collection of useful dockers.
An image is an executable package with everything to run the service.
An container is a runtime instance of an image.
List running containers:
docker ps
Build image:
cd
to the directory with Dockerfiledocker build -t DOCKER_NAME .
List images:
docker image ls
Delete image:
docker image rm [-f] IMAGE
Delete untagged images:
docker rmi --force $(docker images --filter "dangling=true" -q --no-trunc)
Start with Jupyter Docker Stack's Scipy Notebook
Install:
docker pull jupyter/scipy-notebook
Run:
docker run --rm -p 8888:8888 -v ~/projects:/home/jovyan/work/ jupyter/scipy-notebook
There are many deep learning ready docker image available on GitHub. The following two are tested and ready to run.
Setup:
https://hub.docker.com/r/waleedka/modern-deep-learning/
or use my copy of Dockerfile
Run with command line:
docker run -it -p 8888:8888 -p 6006:6006 -v ~/:/host modern-deep-learning
Run with Jupyter:
docker run -it -p 8888:8888 -p 6006:6006 -v ~/projects:/host modern-deep-learning jupyter notebook --ip=0.0.0.0 --allow-root /host
Setup:
https://github.com/ufoym/deepo#CPU
Run:
docker run -it -p 8888:8888 -v $PWD:/root --ipc=host ufoym/deepo:all-py36-jupyter-cpu jupyter notebook --no-browser --ip=0.0.0.0 --allow-root --NotebookApp.token= --notebook-dir='/root/'
Setup:
https://github.com/ufoym/deepo#Jupyter
Run:
docker run --runtime=nvidia -it -p 8888:8888 -v $PWD:/root --ipc=host ufoym/deepo:all-jupyter-py36 jupyter notebook --no-browser --ip=0.0.0.0 --allow-root --NotebookApp.token= --notebook-dir='/root/'
Setup:
docker build -t tf-object-detection .
Run:
docker run -it -p 8888:8888 -p 6006:6006 -v ~/:/host tf-object-detection jupyter notebook --ip=0.0.0.0 --allow-root /host
Setup:
cd ./tf-gpu-jupyter
docker build -t dl-gpu-jupyter .
Run:
docker run --runtime=nvidia -it -p 8888:8888 -v $PWD:/root --ipc=host dl-gpu-jupyter jupyter notebook --no-browser --ip=0.0.0.0 --allow-root --NotebookApp.token= --notebook-dir='/root/'
Setup:
cd ./tf-gpu
docker build -t dl-gpu .
Run:
docker run --runtime=nvidia -it -v $PWD:/tmp -w /tmp dl-gpu bash
Setup:
cd ./tf-cpu
docker build -t dl-cpu-jupyter .
Run:
docker run --runtime=nvidia -it -p 8888:8888 -v $PWD:/root --ipc=host dl-cpu-jupyter jupyter notebook --no-browser --ip=0.0.0.0 --allow-root --NotebookApp.token= --notebook-dir='/root/'
Build image:
cd
to ./investment/docker build -t invest .
Run:
docker run --rm -p 8888:8888 -v ~/projects:/home/jovyan/work/ invest