This is about how to install Portainer as a docker container. So, prerequisite is that docker is already installed.
docker pull portainer/portainer
docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer
docker ps
Open your web browser and type the server IP address with port 9000.
http://192.168.33.10:9000/
Courtesy: https://www.howtoforge.com/tutorial/ubuntu-docker-portainer/