Portainer, it's great

Fore us to manage our container with a web UI and not just a command line interface. We'll use a docker image, portainer/portainer-ce:latest. To install portainer we'll use the following commands, but before we do that just a disclaimer: most things will be lifted from the official Portainer install guide. This is mostly for myself and referencing steps I took so that future deployment would be simpler.
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
To confirm that portainer is running use docker ps
in the terminal. It should return that Portainer is running.
dev@dev-server:~$ docker ps
CONTAINER ID IMAGE COMMAND
5cf587f7163a portainer/portainer-ce:latest "/portainer"
docker ps
.To login into your new instance of Portainer, you would open your web browser and go to the following address.
https://localhost:9443
or
https://192.0.0.2:9443 > replace 192.0.0.2 with your machine's IP that is running Portainer.
With that done go through the setup to create an admin account and start using Portainer.