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

相关推荐
方便面不加香菜1 天前
Docker Container -- 综合实战案例详解
运维·docker·容器
海洋之恒1 天前
GitHub Actions 自动化:5 个真实运维提效案例
运维·自动化·github
迪康coolmu1 天前
出差终端数据安全落地实战:基于迪康端点安全一体化管理系统的四道防线实践
运维·服务器·经验分享·笔记·其他·安全·php
qq_371802111 天前
Ubuntu Linux中安装WorkBuddy
linux·运维·服务器·ubuntu
修己xj1 天前
在 AMD 机器上拉取 ARM 架构 Docker 镜像
docker
逃逸线LOF1 天前
服务网关Gateway
java·运维·gateway
分布式存储与RustFS1 天前
OpenSearch 的索引快照别只留本地:用 repository-s3 存进 RustFS
运维·云原生·开源·对象存储·分布式存储·s3·性能基准
瑞克-桑切斯1 天前
docker Harbor 单机部署手册
大数据·运维·elasticsearch·docker·容器
奶茶树1 天前
【Linux】环境开发工具(vim,gcc,g++,Makefile)
linux·运维·vim