Sign inSign up

ulisesjeremias/tf-docker

By ulisesjeremias

•Updated over 7 years ago

Image
0

488

ulisesjeremias/tf-docker repository overview

⁠TF Docker

⁠Quickstart

$ ./bin/start [-n <name>] [-t <tag>]

⁠Setup and use docker

Build the docker image,

$ docker build --rm -f docker/<tag>.Dockerfile -t <name>:latest .

and now run the image

$ docker run --rm -u $(id -u):$(id -g) -p 6006:6006 -p 8888:8888 <name>:latest

Visit that link, hey look your jupyter notebooks are ready to be created.

If you want, you can attach a shell to the running container

$ docker exec -it <container-id> /bin/sh -c "[ -e /bin/bash ] && /bin/bash || /bin/sh"

And then you can find the entire source code in /develop.

$ cd /develop

Test the environment as follow,

$ python starterfile.py

Tag summary

Content type

Image

Digest

Size

1.6 GB

Last updated

over 7 years ago

docker pull ulisesjeremias/tf-docker:gpu-jupyter