https://docs.portainer.io/v/ce-2.11/start/install
$ 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:2.11.1
Default, Portainer start port 9443 for https if you require http use port 9000 , add the following to docker run
-p 9000:9000
$ docker run -d -p 8000:8000 -p 9000:9000 --name portainer \
--restart=always \
-v /var/run/docker.sock:/var/run/docker.sock \
-v portainer_data:/data \
portainer/portainer-ce:2.11.1
http ://localhost:9000
or if you require https
https ://localhost:9443