当前位置:网站首页>Jenkins is deployed automatically and cannot connect to the dependent service [solved]
Jenkins is deployed automatically and cannot connect to the dependent service [solved]
2022-06-24 08:45:00 【Falling the bowie】
Preface :Docker Network problems
If you used Docker Compose Start all dependent services , A network will be created by default , All the dependent services will be in this network , Services in different networks cannot access each other . The network I created here is deploy_default, So you need to specify sh The network on which the service runs in the script , Otherwise, the launched application service will not be able to connect to the dependent service .
- Use
docker inspect mysqlOrder to see mysql The network where the service is located ;

- adopt
docker network lsTo see all the networks ;

- Modify all
shScript , Modify the network where the service is running , Add a row--network deploy_default \that will do .
Be careful not to add near the command line "#" Note at the beginning of the sign , There will be no --network Wrong command .
边栏推荐
- 数据平台简介
- rsync做文件备份
- liunx 更改 vsftpd 的端口号
- 数据库,查询本月借出书的数量,如果高于10本时,显示“本月借出书大于10本”,否则显示“本月借出书小于10本”
- 小黑ai4code代码baseline啃食1
- "Adobe international certification" Photoshop software, about drawing tutorial?
- 更改SSH端口号
- [xinliu-s6 new model +sa 3-star Xinghai] the new two-way server of the third generation chip was launched and the product was updated~
- 一文详解|增长那些事儿
- Redis cluster data skew
猜你喜欢

WebRTC系列-网络传输之5选择最优connection切换

Redis cluster data skew

ZUCC_ Principles of compiling language and compilation_ Experiment 03 getting started with compiler

数据库迁移从PostgreSQL迁移到 MYSQL

À propos de ETL il suffit de lire cet article, trois minutes pour vous faire comprendre ce qu'est ETL

疫情、失业,2022,我们高喊着摆烂和躺平!

2022.06.23(LC_144,94,145_二叉树的前序、中序、后序遍历)

为什么ping不通,而traceroute却可以通

Two methods of QT exporting PDF files

Pymysql inserts data into MySQL and reports an error for no reason
随机推荐
Background management of uniapp hot update
K8s deployment of highly available PostgreSQL Cluster -- the road to building a dream
OpenCV to realize the basic transformation of image
There was an error checking the latest version of pip
QT writing security video monitoring system 36 onvif continuous movement
Glusterfs replacement failure brick
[xinliu-s6 new model +sa 3-star Xinghai] the new two-way server of the third generation chip was launched and the product was updated~
Shell basic operators -- relational operators
New technology practice, encapsulating the permission application library step by step with the activity results API
Easycvr invokes the interface parameter acquisition method and precautions of device video recording on the page
Detailed explanation of Base64 coding and its variants (to solve the problem that the plus sign changes into a space in the URL)
Live broadcast appointment: growth of Mengxin Product Manager
Cloudbase database migration scheme
Using sonar for code checking
lombok 使用
Common misconceptions in Tencent conference API - signature error_ code 200003
Blue screen error UNMOUNTABLE boot volume of the solution
相机投影矩阵计算
mysql组合索引的有序性
xargs使用技巧 —— 筑梦之路