git clone https://github.com/ufoym/deepo.git ~/deepo
cd ~/deepo/generator
python generate.py Dockerfile2 jupyter pytorch tensorflow python==3.6 --cpu-only
docker build -t deepo .
git clone https://github.com/surukuntu/simple-cifar-10.git ~/simple-cifar-10
docker run --rm --name nn -it -p 8888:8888 -p 6006:6006 -v ~/simple_cifar_10:/data deepo
if you want to keep the bash history
touch .nn_bash_history
docker run --rm --name nn -it -p 8888:8888 -p 6006:6006 -v ~/.nn_bash_history:/root/.bash_history -v ~/simple_cifar_10:/root/simple_cifar_10 deepo
cd ~/simple_cifar_10
jupyter notebook --ip=0.0.0.0 --no-browser --allow-root