This repository is for the simple example with docker environment. It contains how to build sample image and how to access docker container in various research environment form(jupyter notebook, jupyter lab, ssh).
-
Download docker in https://www.docker.com/
-
Pull base image
docker pull nvidia/cuda:11.3.1-cudnn8-devel-ubuntu20.04
- Build sample image with Makefile. It actually build two images(Dockerfile, Dockerfile.opencv)
make all
- Execute image with container
make dry-run
with make dry-run
command, port forwarding can be set in container and each external port number can be assigned to each research environment in Dockerfile.
- jupyter notebook
host_server_ip_address:21501
- jupyter lab
host_server_ip_address:21502
- ssh
ssh -i private_key_location -p 25000 omnious@host_server_ip_address