Sign inSign up

jmartinezot/aaa_read_this_first

By jmartinezot

Updated about 2 years ago

README

Image
Developer tools
0

154

jmartinezot/aaa_read_this_first repository overview

These repositories are intended to provide an easy way of installing and testing common artificial intelligence applications.

Guidelines

The docker images follow these guidelines:

  • The dockerfile is embedded into the image. If the name of the image is <name>, the dockerfile will be <name>.docker and it will be available at the root directory (/) in the image.
  • When the image is run, it shows a <name>.readme.txt file, also available at the root directory (/) in the image.
  • The images have tags that show the base image used to build them. This is useful to know if the image supports CUDA, for example. The tags will typically be ubuntu22.04 when no CUDA capabilities are assumed and cuda11.8.0-cudnn8-devel-ubuntu22.04 or similar when the base image supports CUDA.
  • The content of the <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.

Repositories

  • ml-base. Contains numpy, numba, jupyter, ipython and a lot of libraries commonly used in machine learning applications.

Tag summary

Content type

Image

Digest

sha256:e5184019d

Size

-

Last updated

about 2 years ago

docker pull jmartinezot/aaa_read_this_first