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 --help
or check this websit. - The
-t
parameter 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-name
andVERSION=your-specific-version
.