Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to build Docker Container UI Management system Rancher

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article introduces the knowledge about "how to build Docker container UI management system Rancher". In the actual case operation process, many people will encounter such difficulties. Next, let Xiaobian lead you to learn how to deal with these situations! I hope you can read carefully and learn something!

Rancher is an open source project that provides a platform for managing Docker containers in production environments. Infrastructure services include multi-host networking, global and local Load Balancer, volume snapshots, and more. It integrates native Docker management capabilities, including Docker Machine and Docker Swarm. Rancher also provides management features that enrich the user experience.

Currently installed Rancher Machine Configuration Model: HUAWEI MateBook 14 Notebook Memory: 16GCPU: Intel i7 10510u

Preparation Tools Two CentOS 7 virtual machines (1 core, 2G) One browser (IE or Edge not available, 360 requires extreme speed access) Start installing docker

Installation: yum install docker -y

Start: service docker start

Configure Alibaba Cloud Mirror

Go to Alibaba Cloud official website and search docker

Click on Mirror Accelerator and execute command

Install Rancher

pull images from the nearest region

docker pull rancher/rancher:stable

Start rancher

sudo docker run -d –restart=unless-stopped -p 80:80 -p 443:443 -p 2379:2379 -v /var/lib/rancher/ rancher/rancher:stable

Wait until the browser starts typing virtual machine ip access rancher

First access Set password

Set ip for other virtual machine access

After entering, click Add Cluster

custom

Enter the cluster name and click Next

Since we are testing on a standalone machine, check all three roles. After checking, execute the following command in another virtual machine.

The first time you need to download an image

After completion, it will be automatically linked to rancher. It takes a while to configure automatically. You can see the current status at the arrow.

installation is successful

Install mysql8 with Rancher

select items

Select workload, deploy services

Enter configuration, here is a copy of mysql8 I backup, environment variable value is mysql access password (key: MYSQL_ROOT_PASSWORD)

Wait for a while after clicking Start

test link

"How to build Docker container UI management system Rancher" content is introduced here, thank you for reading. If you want to know more about industry-related knowledge, you can pay attention to the website. Xiaobian will output more high-quality practical articles for everyone!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report