使用docker安装dolphinscheduler

1、前提是安装docker和docker-compose

2、#mkdir /data/dolphinscheduler

3、镜像

docker load -i dolphinscheduler-mysql-driver.tar

docker pull zookeeper:3.6.2:3.6.2

docker tag a7 bitnami/zookeeper:3.6.2

理论上postgresql也可以在线pull,但是在线down下来的镜像安装成功后会报错没有root库或者密码错误等(docker pull postgres:11.11.0),所以最终采用了离线镜像

docker load -i postgresql-11.11.0.tar

查看镜像:docker images

确保镜像的名称及版本是以下内容:

REPOSITORY TAG IMAGE ID CREATED SIZE

apache/dolphinscheduler mysql-driver d55a08cd125d 21 months ago 404MB

bitnami/zookeeper 3.6.2 a72350516291 2 years ago 268MB

bitnami/postgresql 11.11.0 783da6164a58 2 years ago 258MB

如果不是,则使用docker tag命令修改下。

4、脚本

最后把config.env.sh和docker-compose.yml脚本拷贝到/data/dolphinscheduler目录下

5、启动

最后执行启动命令:

docker-compose up -d

6、查看状态

docker ps -a

netstat -ntulp |grep 12345

7、浏览器访问:

http://192.xxx.xxx.xx:12345/dolphinscheduler

相关推荐
小安运维日记14 分钟前
Linux云计算 |【第三阶段】PROJECT1-DAY1
linux·运维·云计算·apache
小的~~30 分钟前
k8s使用本地docker私服启动自制的flink集群
docker·flink·kubernetes
pyliumy31 分钟前
rsync 全网备份
linux·运维·服务器
苹果醋31 小时前
SpringCloud系列之一---搭建高可用的Eureka注册中心
运维·nginx
诚诚k1 小时前
docker存储
运维·docker·容器
sorel_ferris1 小时前
Ubuntu-24.04中Docker-Desktop无法启动
linux·ubuntu·docker
ggb19991 小时前
【python的坑】vpn下,python request报错 check_hostname requires server_hostname
linux·运维·服务器
数据智能老司机1 小时前
Kubernetes从入门到精通系列——外部 DNS 和全局负载均衡
云原生·容器·kubernetes
-SGlow-1 小时前
Linux相关概念和重要知识点(4)(自举、vim)
linux·运维·vim
多多*2 小时前
OJ在线评测系统 登录页面开发 前端后端联调实现全栈开发
linux·服务器·前端·ubuntu·docker·前端框架