Skip to content

Commit b7e03c4

Browse files
committed
Add docker usage to README
1 parent 6225c3f commit b7e03c4

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

+22
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,28 @@ A tab should open up in your browser at `http://localhost:8888`
7575

7676
Happy pandas!
7777

78+
Running the cookbook inside Docker container.
79+
===============================================================
80+
This repository contains Dockerfile and can be build into a docker container.
81+
To build the container run following command from inside of the repository directory:
82+
```
83+
docker build -t jvns/pandas-cookbook .
84+
```
85+
run the container:
86+
```
87+
docker run -d -p 8888:8888 -e "PASSWORD=MakeAPassword" <IMAGE ID>
88+
```
89+
you can find out about the id of the image, by checking
90+
```
91+
docker images
92+
```
93+
94+
After starting the container, you can access ipython notebook with the cookbook
95+
on port 8888. Remember to use https and authenticate with `MakeAPassword`.
96+
```
97+
https://<docker ip>:8888
98+
```
99+
78100
Contribute!
79101
===========
80102

0 commit comments

Comments
 (0)