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 a multi-host docker swarm cluster with docker1.12

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article mainly introduces "how to use docker1.12 to build multi-host docker swarm cluster". In daily operation, I believe many people have doubts about how to use docker1.12 to build multi-host docker swarm cluster. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about "how to use docker1.12 to build multi-host docker swarm cluster". Next, please follow the editor to study!

Prepare for

Prepare at least two centos 7 hosts (new minimum installation, which can be installed using a virtual machine)

Open port 2377 tcp port, 7946 4789 tcp udp port

This paper uses 192.168.99.101 (hostname:centos-node4) as swarm manager

192.168.99.102 (hostname:centos-node5) as swarm agent1

Install docker engine 1.12

Execute the following commands on each machine

# sudo tee / etc/yum.repos.d/docker.repo

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

Servers

Wechat

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

12
Report