Into the notebookhttps://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:
- Downloads the image from quay.io, a host for container images. This image contains a build of GeoPySpark + GeoNotebook + the tutorial packaged together.
- 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.
-itFlags are commonly used when launching docker containers and are necessary, but their precise meaning is beyond the scope of this blog.
--rmoption cleans up the notebook after you exit the process.
- Now the notebook is available for use, type
http://localhost:8000into your browser.
- You will need to login to the notebook, user:
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)