Skip to content

Instantly share code, notes, and snippets.

@azizasm
Last active February 4, 2018 07:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azizasm/2e8ba3c81a3ba1811f17d48275d6d2b8 to your computer and use it in GitHub Desktop.
Save azizasm/2e8ba3c81a3ba1811f17d48275d6d2b8 to your computer and use it in GitHub Desktop.
Tensorflow docker
# 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: {}
@azizasm
Copy link
Author

azizasm commented Feb 3, 2018

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