Learning How to Use Containers (Docker)

  • if I close the terminal window, the connection stays on (i.e. I can still access my local Datalab site via the browser)
  • it doesn’t stay indefinitely (maybe closes when I shut down?) so I can’t perpetually access that site
  • to reconnect after you’ve installed and setup the workspace (from Google instructions)…
export CONTAINER_IMAGE_NAME=gcr.io/earthengine-project/datalab-ee:latest
export WORKSPACE=${HOME}/workspace/datalab-ee
docker run -it -p "" -v "$WORKSPACE:/content" -e "PROJECT_ID=$GCP_PROJECT_ID" $CONTAINER_IMAGE_NAME

Leave a Reply

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