These are some guides for various use.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.1 KiB

  1. # Docker
  2. Docker is a virtualization software that deploys docker containers.
  3. Due to easy handling and reproducable environments it is a useful tool.
  4. ## Installation
  5. - Arch linux: run `pacman -S docker` to install docker
  6. ## Run Docker as non-root user
  7. To run docker as a non-root user you need to add your user to the `docker` group.
  8. To do this create the group docker if it doesn't exist `sudo groupadd docker`
  9. and then add your user to the group using `sudo usermod -aG docker $USER`.
  10. After that relog into your machine and you should be able to run
  11. `docker run hello-world`.
  12. ## Tools and Visualisation
  13. The programs below are useful docker-management systems in different style.
  14. - [ctop](https://github.com/bcicen/ctop): top-like cli interface for containers
  15. - [portainer](portainer.md): web ui for managing docker and kubernetes
  16. ## Enable Nvidia GPUs
  17. To use Nvidia GPUs with docker you need to install the nvidia-cuda-toolkit.
  18. There is a [guide on marmelab](https://marmelab.com/blog/2018/03/21/using-nvidia-gpu-within-docker-container.html)
  19. that focusses on that topic.