I am trying to display TensorBoard from TensorFlow on Docker on Google Cloud.
http://tensorflow.org/how_tos/summaries_and_tensorboard/index.md
tensorbo
You do not have to use Docker to display the TensorBoard. But if you do want to use Docker, just run the TensorBoard inside of your Docker image.
The trick is to allow external access to the default TensorBoard tcp port 6006.
I tried the following working solution to display TensorBoard in my Google Cloud VM.
ensure you pass the gcloud authentication:
gcloud auth login
allow public access to the tcp port 6006
gcloud compute firewall-rules create tensorboard-port --allow tcp:6006
Run TensorBoard on your VM
tensorboard --logdir=workspace/train/
Use external IP address to access the TensorBoard outside your VM:
Open address http://your_vm_external IP:6006/,
e.g. http://104.196.140.145:6006/, where 104.196.140.145 is the external IP address of my VM.