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

相关推荐
一叶之秋14121 小时前
Linux基础IO
linux·运维·服务器
longerxin20205 小时前
在 Linux 上使用 SCP 将文件传输到 Windows(已开启 SSH)
linux·运维·ssh
zhaotiannuo_19987 小时前
渗透测试之docker
运维·docker·容器
王正南8 小时前
kali-linux 虚拟机连接安卓模拟器
android·linux·运维·虚拟机连接模拟器·安卓模拟器,linux虚拟机
三不原则8 小时前
故障案例:容器启动失败排查(AI运维场景)——从日志分析到根因定位
运维·人工智能·kubernetes
吳所畏惧8 小时前
Linux环境/麒麟V10SP3下离线安装Redis、修改默认密码并设置Redis开机自启动
linux·运维·服务器·redis·中间件·架构·ssh
孤岛悬城9 小时前
54 安装k8s-1.20.11
云原生·容器·kubernetes
yueguangni9 小时前
sysstat 版本 10.1.5 是 CentOS 7 的默认版本,默认情况下确实不显示 %wait 字段。需要升级到新版sysstat
linux·运维·centos
funfan05179 小时前
【运维】MySQL数据库全量备份与恢复实战指南:从入门到精通
运维·数据库·mysql
-dcr9 小时前
49.python自动化
运维·python·自动化