# Problem install portainer

**URL:** <https://forums.docker.com/t/problem-install-portainer/139010>\
**Category:** General\
**Tags:** portainer\
**Created:** [December 21, 2023, 3:32pm UTC](https://forums.docker.com/t/problem-install-portainer/139010 "2023-12-21T15:32:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![brianhc](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/brianhc/32/44248_2.png) [@brianhc](https://forums.docker.com/u/brianhc)\
**Post date:** [December 21, 2023, 3:32pm UTC](https://forums.docker.com/t/problem-install-portainer/139010/1 "2023-12-21T15:32:57Z")

</div>

Dear members of the forum, I appreciate if you can help me with collaboration on the following query. I am completely new to Docker. Install the same in OMV and when trying to install Portainer using the command:

docker volume create portainer\_data

docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer\_data:/data portainer/ portainer-ce:latest

once i try to run this command i have the following error:

Create and run a new container from an image -bash: sock:/var/run/docker.sock: No such file or directory

I appreciate your comments and a possible solution in the simplest way possible since I am very new to the subject.

Thank’s!

---

<div class="post-metadata">

**Author:** ![meyay](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/meyay/32/34000_2.png) [@meyay](https://forums.docker.com/u/meyay)\
**Post date:** [December 21, 2023, 6:44pm UTC](https://forums.docker.com/t/problem-install-portainer/139010/2 "2023-12-21T18:44:44Z")

</div>

Can you share a link to the docs/tutorial you fololwed?

> [@brianhc](#):
>
> -v portainer\_data:/data portainer/

This can’t be right.

---

<div class="post-metadata">

**Author:** ![brianhc](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/brianhc/32/44248_2.png) [@brianhc](https://forums.docker.com/u/brianhc)\
**Post date:** [December 22, 2023, 10:56pm UTC](https://forums.docker.com/t/problem-install-portainer/139010/3 "2023-12-22T22:56:08Z")

</div>

I was able to solve it, thanks also for your time and help!

My problem was that I was not running it from “root” mode.

---

<div class="post-metadata">

**Author:** ![brianhc](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/brianhc/32/44248_2.png) [@brianhc](https://forums.docker.com/u/brianhc)\
**Post date:** [December 22, 2023, 10:56pm UTC](https://forums.docker.com/t/problem-install-portainer/139010/4 "2023-12-22T22:56:38Z")

</div>

Do you know if there is any way to close the topic or delete it from here in the forum?
