This is just a template that uses the latest PyTorch image and installs JupyterLab on it to allow easy work.
The workspace directory used by JupyterLab is mapped to ./workspace in this repo, so you have easy access to all your files.
Clone the repository: git clone https://github.com/OneLastTry/pytorch.git
and then execute from the main directory one of the commands below to perform the desired action:
- build the image:
docker-compose build
- start container:
docker-compose up -d
- stop container:
docker-compose stop
- reset container:
docker-compose down
With the container running you can access JupyterLab using the link below: http://localhost:5000/lab The password is admin, you can change that on the Dockerfile.