File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,10 +47,29 @@ to activate it once it's installed.
4747
4848## Docker Build
4949
50+ To run a docker container you need to do the following:
51+
52+ 1 . [ Install docker] ( https://docs.docker.com/install/ ) and make sure it is running.
53+
54+ 2 . Build the docker image on your compute locally. Be patient - this will take a bit of time.
5055Run the following lines to build the docker image locally:
56+
5157```
5258cd earth-analytics-binder
5359docker build -t earthlab/earth-analytics .
5460docker run -it -p 8888:8888 earthlab/earth-analytics
5561
5662```
63+
64+ 3 . Run the image.
65+
66+ To run your earth-analytics image you use the following code:
67+
68+ ` docker run -it -p 8888:8888 earthlab/earth-analytics `
69+
70+ NOTE: ` earthlab/earth-analytics ` is the name of this image as built above. To
71+ view all images on your computer type
72+ ` docker images -all `
73+
74+ One you run your image, you will be given a URL at the command line. Paste that puppy
75+ into your browser to run jupyter with the earth analytics environment installed!!
You can’t perform that action at this time.
0 commit comments