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
Table of contents Overview definition Instance Me...
Table of contents Install Configuration Common Mi...
Table of contents 1. Concurrent access control 2....
Table of contents 1. Gojs Implementation 1. Drawi...
Table of contents 1. Install Docker 2. Install Gi...
Table of contents Preface 🍹Preparation 🍲vue3 usag...
MySQL 5.7 installation We are learning MySQL data...
Recently, when I was working on a project, I was ...
Nginx log description Through access logs, you ca...
1. High degree of collapse In the document flow, ...
mktemp Create temporary files or directories in a...
There are two ways to install nodejs in linux. On...
Table of contents 1. Index Type 1. B+ Tree 2. Wha...
Relationship between MySQL and MariaDB MariaDB da...
Effect Preview Press the "Click to Preview&q...