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.

22 lines
826 B

  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. ## Enable Nvidia GPUs
  13. To use Nvidia GPUs with docker you need to install the nvidia-cuda-toolkit.
  14. There is a [guide on marmelab](https://marmelab.com/blog/2018/03/21/using-nvidia-gpu-within-docker-container.html)
  15. that focusses on that topic.