Installing Docker on Ubuntu-based Linux distributions: Linux Mint, Zorin, Pop OS, etc. is simple!
Installing Docker from CLI
Docker is available in the default repositories of apt
. Install via:
|
|
Add permissions to the docker
group by adding the current user:
|
|
Verify that everything worked:
|
|
Output:
|
|
Troubleshooting
If the following error occurs after docker ps
:
|
|
1. Check if Docker is running:
|
|
the status should show active (running)
.
If not, restart the docker service with the following command:
|
|
2. Verify that the current user is apart of the docker
group
|
|
the output should show docker:x:135:USER
with USER
as the current user given from $(whoami)
. If not, add the current user to the docker
group using the instructions above.
3. Verify that the tty session shows correct group membership
|
|
the output should contain docker
in the list. If not, reboot.
4. Reboot
If all the prior steps were successful, simply reboot.
|
|