• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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