Problem install portainer

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!

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

This can’t be right.

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.

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