README
154
These repositories are intended to provide an easy way of installing and testing common artificial intelligence applications.
The docker images follow these guidelines:
<name>, the dockerfile will be <name>.docker and it will be available at the root directory (/) in the image.<name>.readme.txt file, also available at the root directory (/) in the image.ubuntu22.04 when no CUDA capabilities are assumed and cuda11.8.0-cudnn8-devel-ubuntu22.04 or similar when the base image supports CUDA.<name>.readme.txt file provides, at least, instructions to build the image from the dockerfile and also how to run it.# To build this image:
# docker build -f test.docker -t test .
#
# To run a container:
# docker run -it --rm test
#
# With more options:
# docker run -it --rm -e DISPLAY=unix$DISPLAY --mount type=bind,source=/tmp/.X11-unix,target=/tmp/.X11-unix --device /dev/video0 --mount type=bind,source=$(echo $HOME)/test-tmp,target=/tmp test
#
# Options explained:
# -it: This combines -i (interactive) and -t (pseudo-TTY) options to allow for interactive terminal sessions within the container.
# --rm: Automatically removes the container once it exits to prevent leftover containers.
# -e DISPLAY=unix$DISPLAY: Sets the DISPLAY environment variable to enable GUI applications to display on the host's X server.
# --mount type=bind,source=/tmp/.X11-unix,target=/tmp/.X11-unix: Binds the host's /tmp/.X11-unix directory to the container's /tmp/.X11-unix directory. This is necessary for X11 communication between the container and the host, allowing GUI applications to display on the host.
# --device /dev/video0: Grants the container access to the host's /dev/video0 device, which is typically used for webcams or other video capture devices.
# --mount type=bind,source=$(echo $HOME)/test-tmp,target=/tmp: Binds the host's $(echo $HOME)/test-tmp directory to the container's /tmp directory. This allows sharing of files between the host and the container, particularly useful for temporary storage.
numpy, numba, jupyter, ipython and a lot of libraries commonly used in machine learning applications.Content type
Image
Digest
sha256:e5184019d…
Size
-
Last updated
about 2 years ago
docker pull jmartinezot/aaa_read_this_first