Saturday, October 17, 2020

How To Install Rancher ( GUI Docker Containers Manager ) On Ubuntu 20.04

 

Rancher is an open source container management platform. It allows you to run and manage Docker and Kubernetes containers with ease. Rancher provides infrastructure services such as multi-host networking, load balancing, and volume snapshots. Offcial Website -https://rancher.com/
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Testing Environment:Ubuntu 20.04 LTS         Hostname - www.yourdomain.com  - ip Address - 192.168.1.10  
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------apt update ; apt install -y build-essential net-tools curl git software-properties-common neofetch apt-transport-https ca-certificates curl gnupg-agent docker.io docker-compose

systemctl enable --now docker ; docker --version ; docker-compose version
usermod -aG docker $USER ; newgrp docker

docker run -d --restart=unless-stopped -p 8080:8080 rancher/server:stable
docker ps
http://192.168.1.10:8080/

CONTAINER ID -
     
docker stop CONTAINER ID
docker start CONTAINER ID
docker rm CONTAINER ID

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

No comments:

Post a Comment