Skip to content

Commit 61da158

Browse files
author
Leah Wasser
committed
refining docker istructions
1 parent 4b41301 commit 61da158

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff 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.
5055
Run the following lines to build the docker image locally:
56+
5157
```
5258
cd earth-analytics-binder
5359
docker build -t earthlab/earth-analytics .
5460
docker 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!!

0 commit comments

Comments
 (0)