当前位置:网站首页>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 .
边栏推荐
- Increase insert speed
- 中国芯片独角兽公司
- RuntimeError: Missing dependencies:XXX
- Matlab求解线性方程组Ax=b
- rpiplay实现树莓派AirPlay投屏器
- [team management] 25 tips for testing team performance management
- Send custom events in QT
- There was an error checking the latest version of pip
- [force deduction 10 days SQL introduction] Day3
- 图片工具
猜你喜欢

pymysql 向MySQL 插入数据无故报错

什么是SRE?一文详解SRE运维体系

MATLAB Camera Calibrator相机标定

JUC personal simple notes

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

【关于运维和网工的差别,一文说透】

一文讲透,商业智能BI未来发展趋势如何

What is the future development trend of Business Intelligence BI

Jenkins自动化部署,连接不到所依赖的服务【已解决】

原生小程序用画布制作海报,等比例缩放,和uniapp差不多就是写法有点不同
随机推荐
Redis cluster data skew
MyCAT读写分离与MySQL主从同步
中国芯片独角兽公司
表单图片上传在Chorme中无法查看请求体的二进制图片信息
所说的Get post:请求的区别,你真的知道了吗??????
Earthly container image construction tool -- the road to dream
[10 day SQL introduction] Day2
Rsync for file backup
K8s deployment of highly available PostgreSQL Cluster -- the road to building a dream
lombok 使用
Send custom events in QT
2021-05-20computed和watch应用与区别
Common misconceptions in Tencent conference API - signature error_ code 200003
New technology practice, encapsulating the permission application library step by step with the activity results API
[team management] 25 tips for testing team performance management
À propos de ETL il suffit de lire cet article, trois minutes pour vous faire comprendre ce qu'est ETL
为什么ping不通,而traceroute却可以通
QT source code analysis -- QObject (2)
How to handle the problem that calling easycvr address integration cannot be played through easyplayer player?
Earthly 容器镜像构建工具 —— 筑梦之路