Install Portainer on new binglab server
Here we are gong to be install just portainer on a docker installation on ubuntu:
## Check to see if docker is running
docker ps
## Command to show Docker images
docker images
## Command to create a volume and its name
docker volume create portainer_data
## Docker command to run the container using the persistant volume created earlier and and to always restart
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
## Verify Docker container is running
docker ps
## Verify Source/docker IP address of Main system
ip a
No Comments