Control Local Docker Containers From a Web Browser with Portainer

Channel:
Subscribers:
14,400
Published on ● Video Link: https://www.youtube.com/watch?v=-O4Ug15GJQY



Duration: 2:14
181 views
2


#Portainer #Docker #ContainerControl

Full steps can be found at https://i12bretro.github.io/tutorials/0202.html

--------------------------------------------------------------------
What is Portainer
--------------------------------------------------------------------
Portainer is an open source tool for managing container-based software applications in Kubernetes, Docker, Docker Swarm, Azure ACI and edge environments.
It can be used to set up and manage environments, deploy applications, monitor app performance and triage problems. It is used by software engineers, devops and infrastructure teams all over the world to simplify processes, reduce risk and streamline operations.
 
--------------------------------------------------------------------
Installing Docker
--------------------------------------------------------------------
   01. Log into the Linux based device
   02. Run the following commands in the terminal
         # install prerequisites
         sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y
         # add docker gpg key
         curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
         # add docker software repository
         sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
         # install docker
         sudo apt install docker-ce docker-compose containerd.io -y
         # enable and start docker service
         sudo systemctl enable docker && sudo systemctl start docker
         # add the current user to the docker group
         sudo usermod -aG docker $USER
         # reauthenticate for the new group membership to take effect
         su - $USER
 
--------------------------------------------------------------------
Running Portainer
--------------------------------------------------------------------
   01. Now that Docker is installed, run the following commands to setup the Portainer Docker container and run it
         # create working directories
         mkdir ~/docker/portainer -p
         # run the portainer docker container
         docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v ~/docker/portainer:/data portainer/portainer-ce
   02. Once the Portainer container is downloaded and running, open a web browser and navigate to http://DNSorIP:9000
   03. Set an administrator username and password ≫ Click Create user
   04. Click the Docker - Manage the local Docker environment option ≫ Click Connect
   05. Welcome to Portainer, Docker container management from a web browser
 
Documentation:  https://www.portainer.io/installation/
 


### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro







Tags:
Docker Made Easy
Docker Management
Docker
Portainer
Browser Based
Web Based
Containerization
Homelab
Self-Hosted
Web Based Tools
How To
Tutorial
i12bretro