Coder Social home page Coder Social logo

docker-dm's Introduction

达梦数据库 Docker 镜像

安装 Docker

CentOS

yum install -y docker
systemctl start docker # 启动 docker daemon
systemctl enable docker # 设置 docker daemon 开机运行

启动 DM 数据库

快速启动

DM7 AMD64 版

docker run -p 5236:5236 helsonxiao/dm:7

DM8 AMD64 版

docker run -p 5236:5236 helsonxiao/dm:8

DM8 ARM64 版

docker run -p 5236:5236 helsonxiao/dm:8-arm64

持久化存储数据

docker run -v /dm:/home/dmdba/data -p 5236:5236 [image_name]

开机自启

docker run -v /dm:/home/dmdba/data -p 5236:5236 -d --restart always [image_name]

默认用户名/密码

SYSDBA/SYSDBA

disql 工具

docker run --rm -it --entrypoint="/home/dmdba/dmdbms/tool/disql" [image_name]

示例

SQL> connect SYSDBA/SYSDBA@[server_ip]:5236

镜像构建

GIT_LFS_SKIP_SMUDGE=1 git clone [email protected]:helsonxiao/docker-dm.git
# 进入你希望构建的镜像目录
cd [image_dir]
# 请先使用 git lfs 拉取 DMInstall.bin
docker build -t [image_name] .

docker-dm's People

Contributors

toyangdon avatar helsonxiao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.