• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • 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.

Issue Problems with Portainer

Kobra

New Pleskian
Hi there,
I am trying to start the Portainer as a Docker image on a local Docker Portainer. When I come to the corresponding website, the following message is displayed:

Manage the Docker environment where Portainer is running.
Ensure that you have started the Portainer container with the following Docker flag:
-v "/var/run/docker.sock:/var/run/docker.sock" (Linux).
or
-v \\. \ pipe \ docker_engine: \\. \ pipe \ docker_engine (Windows).

I don't know where and how to pass this flag. I have already tried to transfer a mapping and a variable with it in the settings of the container. Unfortunately there were only mistakes.
Can someone help me with this problem?
The Docker service is local and started.
The BS and Plesk are up to date.
Other images run without problems, but also have more settings included by default.
I thank you in advance.

Warm greetings
cobra
 
I have no way of specifying the flag as mentioned above.
if I connect anyway, an error message appears that I have not connected to the Docker SOCK
 
That flag is a volume mapping. I usually run Portainer from SSH. It just seems easier and faster than using the Plesk Docker Extension. Here is the command that I use:
Code:
docker run -d -p 9000:9000 -p 9443:9443 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v /app/portainer/local-certs:/certs -v /app/portainer:/data portainer/portainer-ce --sslcert /certs/portainer.crt --sslkey /certs/portainer.key

I use SSL for my portainer. That is what the local-certs and keys are referring to in my command. If you are using SSL, you'd copy your SSL certificates into the local-certs directory as portainer.crt and portainer.key.
 
Back
Top