In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "Docker container how to connect agent Wormhole", the content of the article is simple and clear, easy to learn and understand, now please follow the editor's train of thought slowly in depth, together to study and learn "Docker container how to connect proxy Wormhole" bar!
Wormhole is a namespace-aware tunnel agent activated by Socket. Docker containers that allow you to connect securely to different physical machines. It can be used to perform some interesting functions, such as connecting services running natively in the container or creating on-demand services after connecting.
Connect to the MySQL service in the container
Connection method:
Mysql= `docker run-d wormhole/ mysql`./ wormhole create url: 3306 docker-ns tail docker-ns $mysqlmysql-u root-h 127.0.0.1 create a local WordPress container to MySQL container app= `docker run-d wormhole/ wordpress`mysql = `dock er run-d wormhole/ mysql`.wormhole create url: 3306 docker-ns $app tail docker-ns $mysql create a local port to connect
. / wormhole create url: 80 trigger docker-run wormhole/wordpress\ child url: 3306 trigger docker-run wormhole/mysql create a local port to the remote MySQL service mysql= `docker-H myserver run-d wormhole/ mysql`. / wormhole create url: 3306 remote myserver tail docker-ns $mysql thank you for reading, this is the content of "how to connect the Docker container to the agent Wormhole", after the study of this article I believe you have a deeper understanding of how to connect the Docker container to the proxy Wormhole, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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: 236
*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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.