Home>Article>Topics> Pagoda linux panel docker manager usage tutorial

Pagoda linux panel docker manager usage tutorial

藏色散人
藏色散人 forward
2021-06-17 15:13:08 14521browse

The following tutorial column ofPagoda Panelwill introduce to you the tutorial on how to use the docker manager of Pagoda Linux Panel. I hope it will be helpful to friends who need it!

Installation instructions

1. Pagoda Linux panel version 5.4.1 or above

2. Centos system, it is recommended to use Centos 7

3. Servers not under openvz or docker

What is the difference between Docker and cloud servers?

Docker is an open source application container engine, so when we use docker, we should have container thinking. We should not use it as a server, but as an application.

In what scenarios is docker used?

1. Applications that require environment isolation

2. Online applications that require environment isolation, such as docker and apache, and the host goes out through nginx reverse proxy to implement LNMPA architecture

3. Applications that require user isolation

4. Small concurrency micro-applications

5. Hot standby, such as: mysql master-slave replication

6 , Temporary application

How to use docker manager:

1.Port mapping

Usually, we need to map the following ports:

Pagoda linux panel docker manager usage tutorial

In addition to the above ports, you may also need, 3306, 21, 20, 1635, etc..

Note:

|- If you use a fixed IP and want to use the container as a server, you still need to map the port, and you need to modify the host's SSH, panel and other ports

|- Adding port mapping during runtime is not supported at the moment. You need to make all the required port mapping settings when creating the container

2. Image management

The default is only the image of the Pagoda panel. If you need other images, please use the docker pull command. Download,

For example: you need the latest version of ubuntu image: docker pull ubuntu

3, IP address pool

You need to add an IP address pool before you can bind it when creating a container IP address

The IP added here must be the IP that has been bound to the host server

FAQ:

Q: Deploy the pagoda through docker How do I access the panel after it is mirrored?

Answer: If you map 8888 to 8881 when you create docker, then access it through (http://server IP:8881)!

To access the panel created by docker, you need to open it in a new browser, otherwise it will automatically exit.

Q: After deploying the pagoda panel image through docker, how to manage the container through SSH?

Answer: If you map 22 to 222 when you create docker, then use the ssh tool directly to connect to the container through port 222

Q: When I created the container, I clearly mapped port 8888 to 8881 Port, why is it inaccessible?

Answer: Please check whether the panel firewall allows 8881. If there is a security group, you also need to allow 8881 in the security group

The above is the detailed content of Pagoda linux panel docker manager usage tutorial. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:bt.cn. If there is any infringement, please contact admin@php.cn delete