Public | Automated Build

Last pushed: 3 months ago
Short Description
NLP extension to Datalab
Full Description

NLP extension to Datalab

Packages included:

Build on local

export PROJECT_ID=[GCP project ID]
docker-composer build

Run locally

docker-composer up # start the container
docker-compose exec datalab-nlp bash # enter container
gcloud auth login # in container


To push the image to GCR:

gcloud docker -- push$PROJECT_ID/datalab-nlp:latest

To pull the image from GCR:

gcloud docker -- pull$PROJECT_ID/datalab-nlp

You can set up GCR to build the image directly from a Git repository.

Run on GCloud Datalab

From GCloud Shell, you should be able to run:

datalab create nlp --image-name$PROJECT_ID/datalab-nlp:latest

Unfortunately, it seems that currently the VM created by datalab create
can not pull modified images from GCR.
Use public Docker Hub to work arround, e.g.:

# On local
docker tag$PROJECT_ID/datalab-nlp:latest vochicong/datalab-nlp:latest
docker push vochicong/datalab-nlp:latest

# from GCloud Shell
datalab create nlp --image-name vochicong/datalab-nlp:latest
Docker Pull Command
Source Repository