Last active
February 4, 2018 07:54
-
-
Save azizasm/2e8ba3c81a3ba1811f17d48275d6d2b8 to your computer and use it in GitHub Desktop.
Tensorflow docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run tensorflow from dockers - play-with-docker.com | |
# to run : http://play-with-docker.com/?stack=https://gist.githubusercontent.com/azizasm/2e8ba3c81a3ba1811f17d48275d6d2b8/raw/docker-compose.yml | |
# Use root/example as user/password credentials | |
version: '3.1' | |
services: | |
tensorflow: | |
restart: always | |
image: tensorflow/tensorflow:nightly-py3 | |
# container_name : zys | |
ports: | |
- 8888:8888 | |
# environment: | |
# MYSQL_ROOT_PASSWORD: root | |
volumes: | |
logvolume01: {} | |
sitevolume: {} |
Play with Sarasra/models
git clone https://github.com/Sarasra/models.git
docker cp models/. `docker container ls -q`:/notebooks
docker exec -t -i `docker container ls -q` /bin/bash
http://ip172-18-0-8-b9rb11ar91k000e68upg-8888.direct.labs.play-with-docker.com/notebooks/samples/outreach/blogs/housing_prices.ipynb
-8888.direct.labs.play-with-docker.com/tree/samples/outreach/blogs/housing_prices.ipynb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run Tensorflow in play-with-docker (PWD)
and wait until the container to load.
8888
in the PWD session. It will prompt for session pass that can be obtained from :Output :
Note: if no 8888 Link appear in the session. You may enter manually :
http://{ssh-id}-8888.direct.labs.play-with-docker.com/tree?token={ssh}
example :
http://ip172-18-0-9-b9ql6sqr91k000fbs790-8888.direct.labs.play-with-docker.com/tree?token=c02e206041a43bdab6df846c93d2a4a047efb3891cd3cf07