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

Building rabbitmq message queue based on docker1.13.1

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

Share

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

Building rabbitmq based on docker

The Docker system has two programs: the docker server and the docker client. The docker server is a service process that manages all the containers. The docker client acts as the remote controller of the docker server and can be used to control the server process of the docker. In most cases, the docker server and client run on the same machine.

1. Install docker and install yum directly in centos

# yum install-y docker

You can use docker version to view the installed version information. If you do not start docker, you can only see the version information of the client, and you can see the version information of the client and server after startup.

2. Image management

Docker images: lists all local mirrors

Docker search: find the image to install

Docker pull: download the image to install

Docker push: upload image

Docker rmi: deleting image

Here is an example of installing rabbitmq:

1. You can first use docker images to list all the images in the docker. Because it is a newly installed docker, the list is empty.

2. Find the rabbitmq image file

# docker search rabbitmq

3. Download rabbitmq image

To quickly download the image, create a daemon.json file with the following contents:

Mkdir-p / etc/docker

Tee / etc/docker/daemon.json

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