Skip to content

Docker steps to run containers

Allison Smith edited this page Nov 16, 2016 · 7 revisions

WINDOWS

1- In the docker prompt:

docker-machine ip default

let's call the returned values the "IPaddress"

2 - On your command line:

docker run -itp 8888:8888 --name jupyter_container geohackweek2016/arraystutorial

3 - on your command line:

jupyter notebook --notebook-dir=/notebooks --ip="*" --port=8888 --no-browser

4- in your browser, type:

IPaddress:8888

NOTE: For vectortutorial, please activate vectorenv by command: source activate vectorenv before you open jupyter notebook

MAC OSX/Linux

1 - On your command line:

docker run -i -t -p 8888:8888 --name jupyter_container geohackweek2016/arraystutorial

2 - on your command line:

jupyter notebook --notebook-dir=/notebooks --ip="*" --port=8888 --no-browser

3 - in your browser, type:

localhost:8888

NOTE: For vectortutorial, please activate vectorenv by command: source activate vectorenv before you open jupyter notebook

Clone this wiki locally