Advertisement
Guest User

Untitled

a guest
Sep 21st, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. # Docker on Arch
  2.  
  3. ## Overview
  4.  
  5. * Update Arch
  6. * Install Docker
  7. * Configure Docker User
  8.  
  9. ## Update Arch
  10.  
  11. ```bash
  12. sudo pacman -Syu
  13. ```
  14.  
  15. ## Install Docker
  16.  
  17. * Install
  18.  
  19. ```bash
  20. sudo pacman -S docker
  21. sudo systemctl start docker
  22. sudo systemctl enable docker
  23. ```
  24.  
  25. * Check Installation
  26.  
  27. ```bash
  28. sudo docker version
  29. ```
  30.  
  31. ## Configure Docker User
  32.  
  33. * By default, only user with root or sudo privileges can run or manage Docker. If you want to run docker without root privileges or without having to add sudo everytime, do the following:
  34.  
  35. ```bash
  36. sudo usermod -aG docker $USER
  37. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement