docker:allow_docker_to_be_run_without_using_sudo
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
docker:allow_docker_to_be_run_without_using_sudo [2025/05/20 15:38] – peter | docker:allow_docker_to_be_run_without_using_sudo [2025/07/30 09:50] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Docker - Allow docker to be run without using sudo ====== | ====== Docker - Allow docker to be run without using sudo ====== | ||
- | ===== Add current user to the docker group ===== | + | ===== To add the current user to the docker group ===== |
<code bash> | <code bash> | ||
Line 18: | Line 18: | ||
---- | ---- | ||
- | ===== Add a specific user to the docker group ===== | + | ===== To add a specific user to the docker group (Optional) |
==== Determine the username ==== | ==== Determine the username ==== | ||
Line 39: | Line 39: | ||
sudo usermod -aG docker peter | sudo usermod -aG docker peter | ||
</ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | </ | ||
+ | |||
+ | |||
+ | ---- | ||
==== Enable this functionality ==== | ==== Enable this functionality ==== |
docker/allow_docker_to_be_run_without_using_sudo.1747755496.txt.gz · Last modified: 2025/05/20 15:38 by peter