• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx

  • We are developing a new feature in Plesk that will help you promote your websites or business on social media. We want to conduct a one-hour online UX test to present the prototype and collect feedback. If you are interested in the feature, please book a meeting via this link.
    Thank you in advance!
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Docker permission denied

  • Thread starter Deleted member 209767
  • Start date
D

Deleted member 209767

Guest
Server operating system version
AlmaLinux
Plesk version and microupdate number
last
I installed Docker following the instructions here:
How to Install Docker on AlmaLinux 9 Step-by-Step

Then I installed the Plesk Extension, but when I try to open it in Plesk I always get this error:
Error: Permission denied

What did I do wrong?
 
When you installed the Docker extension in Plesk, it would had installed Docker for you with all the permissions. Because you didn't you're missing the permission. The permission is that you would need psaadm in the docker group. So in your SSH session do the following:

Bash:
sudo usermod -aG docker psaadm

That will add the psadm account to the docker group and should resolve the error.
 
Thanks for the reply, after running the command I was able to access the Docker section in Plesk once, then I tried to run my Mastodon container, and now the same error is back and I can't access the Docker section anymore
 
Would it be an option to remove your Docker installation completely and then install Docker through the Plesk installer instead?
 
Here's a solution, open your console and type:

Bash:
plesk bin extension --uninstall docker
sudo dnf remove -y podman buidah
sudo dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
sudo dnf install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
sudo systemctl start docker
sudo systemctl enable docker
sudo usermod -aG docker psaadm
plesk bin extension --install docker
 
Back
Top