There are two directories in this folder, which are gpu and cpu respectively. These means whether the image support CUDA.
To build the already-cooked image, run docker build -t "${USER}/${IMAGE_NAME}:${VERSION} ." in a specific directory.
- You can read the reference about docker capability by invoking
docker --helpor check this websit. - The
-tparameter is used to tag the iamge for later use. ${USER}is an environment variable already set in ubuntu environment.${IMAGE_NAME}and${VERSION}may not be set perfectly, so you need toIMAGE_NAME=your-specific-nameandVERSION=your-specific-version.