User Tools

Site Tools


cheatsheet:docker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
cheatsheet:docker [2023/07/24 08:55] – [allow non-root to operate docker] kamaradskicheatsheet:docker [2023/07/24 09:00] (current) – [allow non-root to operate docker] kamaradski
Line 8: Line 8:
  
 <code> <code>
-sudo usermod -aG docker yourusername+// add your user to docker usergroup 
 +sudo usermod -aG docker yourusername
  
 // to make this effective login/logout or start a new terminal session with: // to make this effective login/logout or start a new terminal session with:
-su yourusername+su yourusername
  
-// test: +// test-1 (should see the docker usergroup listed here)
-docker info+$ id yourusername 
 + 
 +// test-2: 
 +docker info
 </code> </code>
cheatsheet/docker.1690188912.txt.gz · Last modified: 2023/07/24 08:55 by kamaradski