Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 1.03 KB

README.md

File metadata and controls

40 lines (32 loc) · 1.03 KB

docker-example

A repository of docker images I created/pulled.

Prerequisite

  1. docker
  2. nvidia-docker
  3. docker-compose

Some Docker images use GPUs, so nvidia-docker needs to be installed.

Please note that nvidia-docker currently only runs on Linux.

Docker images

Based on the README files in each directory, create or pull the image and run the container you need.

Scripts in this directory and subdirectories are for Ubuntu.


Common commands

  1. Run a command in a new container

    docker run [OPTIONS] IMAGE [COMMAND] [ARG...]
  2. Remove container:

    docker container rm [OPTIONS] CONTAINER [CONTAINER...]

    or

    docker rm [OPTIONS] CONTAINER [CONTAINER...]
  3. Remove image:

    docker image rm [OPTIONS] IMAGE [IMAGE...]

    or

    docker rmi [OPTIONS] IMAGE [IMAGE...]