1、去官网下载镜像文件https://eco.dameng.com/download/
2、导镜像到docker
docker load -i dm8_20240422_x86_rh6_64_rq_std_8.1.3.100_pack2.tar
3、启动容器
docker run -dit \
-p 5236:5236 \
--restart=always \
--name dm8 \
--privileged=true \
-e PAGE_SIZE=16 \
-e LD_LIBRARY_PATH=/opt/dmdbms/bin \
-e EXTENT_SIZE=32 \
-e BLANK_PAD_MODE=1 \
-e LOG_SIZE=1024 \
-e UNICODE_FLAG=1 \
-e LENGTH_IN_CHAR=1 \
-e INSTANCE_NAME=dm8_test \
-v /opt/dm8/data:/opt/dmdbms/data \
dm8:dm8_20240422_rev215128_x86_rh6_64
4、运行/停止容器
docker stop dm8
docker start dm8
docker restart dm8
5、用可视化工具连接数据库
默认用户名密码: SYSDBA/SYSDBA001