masa3141
9/29/2018 - 4:09 AM

GCP command

gcloud compute instances create test-gce --zone asia-northeast1-c --image ubuntu-1604-xenial-v20171121a --image-project ubuntu-os-cloud

gcloud compute ssh test-gce -- -L 50001:localhost:50000

docker build -t ml .

docker run -it -v $PWD:/work -p 8888:8888 -p 6006:6006 ml3

jupyter-notebook --ip=0.0.0.0 --allow-root

gcloud compute instances start instance-ml --zone us-west1-b
gcloud compute instances stop instance-ml --zone us-west1-b 

gcloud compute ssh instance-ml --zone us-west1-b -- -L 8888:localhost:8888 -L 6006:localhost:6006


docker exec -it ml /bin/bash
tensorboard --logdir logdir-jp-en

gcloud init