Cài đặt Geo Notebook Docker

Table of Contents

Đã cài được

Into the notebook

https://www.azavea.com/blog/2017/09/29/how-to-run-geopyspark-in-a-geonotebook-with-docker/

Run this command from your terminal:

docker run -it --rm --name geopyspark -p 8000:8000 quay.io/geodocker/jupyter-geopyspark:blog

It should only take a couple of minutes to download the image.

This command does several things:

  1. Downloads the image from quay.io, a host for container images. This image contains a build of GeoPySpark + GeoNotebook + the tutorial packaged together.
  2. It maps the docker container’s 8000 port to your system’s 8000 port. This makes the container available to your host system’s web browser.
  3. -it Flags are commonly used when launching docker containers and are necessary, but their precise meaning is beyond the scope of this blog.
  4. --rm option cleans up the notebook after you exit the process.
  5. Now the notebook is available for use, type http://localhost:8000into your browser.
  6. You will need to login to the notebook, user: hadoop | password: hadoop

http://dev.dothanhlong.org:8000/user/hadoop/notebooks/sanfranmvp.ipynb

Vui tóa! há há há

(Cơ mà cái do cái này khởi động từ docker nên chỉ khi nào mở "máy ảo" này thì mới sài được :v)

-soiqualang_chentreu-


Warning: Undefined variable $comments_number in /shared/webdir2/dothanhlong.org/wp-content/themes/business-hub/comments.php on line 35

Warning: Undefined variable $comments_number in /shared/webdir2/dothanhlong.org/wp-content/themes/business-hub/comments.php on line 39
0 thoughts on “Cài đặt Geo Notebook Docker”

Leave a Reply

Your email address will not be published. Required fields are marked *