Here we introduce the centos server with docker installed, and start the remote link service, so that we can use IDEA remote link, and we can package it into an image on the test server with one click (of course, we may play it ourselves, or on the test server, so don't mess around with other things to avoid running away). The installation of docker is not introduced here, and other articles have special introductions Step 1: Configure Docker and enable remote access. The default port is 2375, which can also be changed to other ports. Modify the Failure Chart Reload the configuration file and restart Docker to make the configuration take effect. #Reload the configuration file systemctl daemon-reload #Restart the docker service systemctl restart docker If Docker started normally before and failed to restart after changing the configuration, it is probably because the configuration was changed incorrectly. Use the curl command to check whether it is enabled #curl download docker service information curl http://127.0.0.1:2375/info If there is a return statement, it proves that the opening is successful In addition, you need to configure the Tencent Cloud security group rules and open port 2375 in the inbound rules to enable remote access (similar to Alibaba Cloud) Security group location: https://console.cloud.tencent.com/vpc/securitygroup?rid=1&rid=1 Add a new security group - add inbound rules (reference: https://cloud.tencent.com/document/product/213/39740) Check whether the port can be accessed remotely. Enter the following command in your local browser: http://serverIPaddress:2375/info This is the end of this article about enabling docker remote service link on cloud centos. For more relevant content about enabling docker remote service link on cloud centos, please search previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Perfect solution for vertical centering of form elements
>>: Based on JavaScript ES new features let and const keywords
This article shares the specific code for Vue to ...
WeChat applet uniapp realizes the left swipe to d...
1. Dynamic query rules The dynamic query rules ar...
This article shares 3 methods to achieve the spec...
Table of contents Prerequisites RN passes value t...
Table of contents 01 Problem Description 02 Solut...
Preface: The most commonly used architecture of M...
Optimizing and refining information is always the ...
introduction I discovered a problem before: somet...
Table of contents 1. Relationship between parent ...
There are two types of dead link formats defined b...
Table of contents Implementing a search engine ba...
Through permission-based email marketing, not onl...
Preface This is an old demand, but there are stil...
Understanding of polling In fact, the focus of po...