How to Run Google Datalab with Docker
Posted on Jul 16, 2018 in Tutorial • 10 min read
How to Run Google Datalab with Docker¶
-
- create Docker account
- download Docker dmg
- run Docker from application folder
- log in Docker account
Open new terminal window
For Mac/Linux:
docker run -it -p "127.0.0.1:8081:8080" -v "${HOME}:/content" gcr.io/cloud-datalab/datalab:local-20170224
For Windows
docker run -it -p "127.0.0.1:8081:8080" -v "\path\to\exercise_directory:/content" gcr.io/cloud-datalab/datalab:local-20170224
Load http://localhost:8081/ in your web browser
- Navigate around like Jupyter Notebook
Repeat step 2 to start Google Datalab
What is Docker?¶
Docker is a tool designed to make it easier to create, deploy, and run applications by using containers. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and ship it all out as one package. Containers are isolated from each other and use their own set of tools and libraries; they can communicate through well-defined channels. All containers use the same kernel and are therefore more lightweight than virtual machines.
Official Site