If you use docker and want to manage all of your docker containers by visual with browser than Portainer is the right thing for you.
I will mention in the next few steps how you can easily install Portianer on Docker and access, install, manage all of your docker images, containers, networks etc.
I assume that you know how to install Docker on a cloud or local virtual machine.
Lets connect with your Kali Linux by PuTTY or CLI terminal.
First we need to create a volume or drive where Portainer store the database. To do that run - docker volume create portainer_data
Now run - 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 download and install the Portainer Server inside the Docker.
That's it you have successfully Portainer Server on Docker.
Now go to your browser and type your IP address or https://localhost:9443 if you are trying on the same local Linux machine.
It will ask you to put your 12 digits password two times. Your default user name will be admin and the password you wish to use.
After putting new password it will automatically login into your Portainer Server and you will see the screen as below:
Hope this help, if things not like as I mentioned please don't forget to comment. I will never let you stuck!
Comments
Post a Comment