-
Check if Docker is installed. Run the following command:
Sample output:If you see this output, Docker is installed, but the user may not be added to the Docker group.
-
Check if the user is in the Docker group. Run the following command:
Sample output:Verify if your username is listed. If not, add the user to the Docker group:
-
Add user to the Docker group:
Example:
-
Verify the user is added. Re-run the group check:
The output should now include your username, e.g.:
-
Reboot the server:
-
Once logged back in, restart Docker:
- If no output is shown when running docker info, suggest downloading and installing Docker properly.