使用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

相关推荐
像风一样自由202010 小时前
52.Docker部署大模型应用从本地开发到服务化运行
运维·人工智能·docker·容器·大模型·智能体
sxgzzn11 小时前
如何利用电缆故障定位在线监测系统提升供电安全?
运维·重构·无人机·开关柜局放在线监测·gis局放在线监测
mengchanmian11 小时前
VSFTP 服务器搭建(Centos)
运维·服务器·centos
别动我齐刘海13 小时前
Linux 系统调试学习1
linux·运维·服务器·c++·学习·机器学习·机器人
陈陈CHENCHEN14 小时前
【Kubernetes】纯 IPv6 K8s 用 socat 打通 IPv4 服务
云原生·容器·kubernetes
不像程序员的程序媛14 小时前
linux常见文本操作命令
linux·运维·服务器
wangbing112514 小时前
开发指南149-IotDB-常用命令
linux·运维·iotdb
Dovis(誓平步青云)14 小时前
常用命令藏得太深?怎么做一个快捷命令坞
运维·前端·自动化·音视频·prometheus
江湖有缘15 小时前
Docker实战 | 使用Docker部署rmoments社交平台
jvm·docker·oracle
志栋智能15 小时前
运维超自动化的知识管理与传承
运维·自动化