1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-07-09 09:17:46 +02:00
wiki/wiki/docker.md
TiynGER 046b9bc995 docker-image folder added
The docker-images where scattered across different files.
For faster access i moved them to an extra folder and linked them if they're needed elsewhere.
entries that where outside this folder and only contained basic documentation of the docker image where removed.
2021-03-16 15:34:35 +01:00

1.2 KiB

Docker

Docker is a virtualization software that deploys docker containers. Due to easy handling and reproducable environments it is a useful tool.

Installation

Run Docker as non-root user

To run docker as a non-root user you need to add your user to the docker group. To do this create the group docker if it doesn't exist sudo groupadd docker and then add your user to the group using sudo usermod -aG docker $USER. After that relog into your machine and you should be able to run docker run hello-world.

Tools and Visualisation

The programs below are useful docker-management systems in different style.

  • ctop: top-like cli interface for containers
  • portainer: web ui for managing docker and kubernetes

Enable Nvidia GPUs

To use Nvidia GPUs with docker you need to install the nvidia-cuda-toolkit. There is a guide on marmelab that focusses on that topic.