首页 > 其他分享 >DM for Docker安装

DM for Docker安装

时间:2023-02-07 16:00:56浏览次数:60  
标签:kB layer DM 01 Loading dm8 Docker 安装 docker

1. 下载dm for docker安装包

https://eco.dameng.com/document/dm/zh-cn/start/dm-install-docker.html

 

2. docker导入dm的镜像

[root]# docker load -i dm8_20220822_rev166351_x86_rh6_64_ctm.tar
644879075e24: Loading layer [==================================================>] 117.9 MB/117.9 MB
d7ff1dc646ba: Loading layer [==================================================>] 15.87 kB/15.87 kB
686245e78935: Loading layer [==================================================>] 14.85 kB/14.85 kB
d73dd9e65295: Loading layer [==================================================>] 5.632 kB/5.632 kB
2de391e51d73: Loading layer [==================================================>] 3.072 kB/3.072 kB
5d3893664e8e: Loading layer [==================================================>] 42.94 MB/42.94 MB
86739628cd5d: Loading layer [==================================================>] 275.5 MB/275.5 MB
a8cca048a547: Loading layer [==================================================>] 4.608 kB/4.608 kB
8af79446e96a: Loading layer [==================================================>]  2.56 kB/2.56 kB
a28e591b0aad: Loading layer [==================================================>] 4.608 kB/4.608 kB
Loaded image: dm8_single:v8.1.2.128_ent_x86_64_ctm_pack4

 

3. 查看docker镜像

[root]# docker images
REPOSITORY          TAG                               IMAGE ID            CREATED             SIZE
dm8_single          v8.1.2.128_ent_x86_64_ctm_pack4   ccb727ce9dce        5 months ago        432 MB

 

4. 启动容器

[root]# docker run -d -p 5236:5236 --restart=always --name dm8_01 --privileged=true -e PAGE_SIZE=16 -e LD_LIBRARY_PATH=/opt/dmdbms/bin -e INSTANCE_NAME=dm8_01 -v /data/dm8_01:/opt/dmdbms/data dm8_single:v8.1.2.128_ent_x86_64_ctm_pack4
05289a4a9776272f5480ea5093553b45bcdddcc3eec21b0d67cc9f3dec63a24f

 

5. 查看运行的容器

[root]# docker ps
CONTAINER ID        IMAGE                                        COMMAND                  CREATED             STATUS              PORTS                    NAMES
05289a4a9776        dm8_single:v8.1.2.128_ent_x86_64_ctm_pack4   "/bin/bash /opt/st..."   19 seconds ago      Up 17 seconds       0.0.0.0:5236->5236/tcp   dm8_01

 

6. 查看容器的启动日志

[root]# docker logs -f dm8_01

 

7. 容器的启动、停止

启动容器

[root]# docker start dm8_01

关闭容器

[root]# docker stop dm8_01

 

注释:

  用户名:SYSDBA

  密码:SYSDBA001 

 

参考:https://eco.dameng.com/document/dm/zh-cn/start/dm-install-docker.html

标签:kB,layer,DM,01,Loading,dm8,Docker,安装,docker
From: https://www.cnblogs.com/haha029/p/17098773.html

相关文章

  • PostgreSQL-14 安装配置-wsl_v1_ubuntu22.04
    环境准备pgAdmin:Cisco2022postgrep数据库:leiwang6:Leiwang6_2023postgres:Postgres_2023installhttps://learn.microsoft.com/en-us/windows/wsl/tutorials/w......
  • k8s可视化界面-kuboard v3安装
    1、Kuboard-Kubernetes多集群管理界面Kuboard是k8s的一个多集群管理页面。官网地址:https://kuboard.cn/2、安装安装Kuboard之前,假设:您已经准备好......
  • Centos7离线安装Docker和docker-compose
    Centos7离线安装Docker和docker-compose 1.查看系统环境,内核版本3.10及以上#cat/etc/redhat-release#uname-r2.准备docker安装包和安装脚本Docker官方下载地址:https://d......
  • 暗影精灵8安装双系统(win11+ubuntu22.04 LTS)
    笔记本电脑配置惠普暗影精灵8,显卡为移动端的RTX3050Ti,自己加装了一块西数SN5701TB的固态硬盘。步骤在windows11操作系统上的准备关闭windows快速启动按下......
  • SPI-CH32V307VCT6实现SPI从机DMA收发
                SPI从机DMA收发 使用CH32V307VCT6单片机实现主从SPI数据交换    SPI从机IO口配置  从机SPI配置,注意使能SPI的DMA ......
  • 数据采集技术之在Python中Libxml模块安装与使用XPath
    为了使用XPath技术,对爬虫抓取的网页数据进行抽取(如标题、正文等等),之后在Windows下安装libxml2模块(安装后使用的是Libxml模块),该模块含有xpath。准备需要的软件包:Python2.7......
  • Django关于站点管理Admin Site的常见问题解决方法
    1.改变django默认语言的方法?仅需添加’django.middleware.locale.LocaleMiddlewar’到MIDDLEWARE_CLASSES设置中,并确保它在’django.contrib.sessions.middleware.Session......
  • ffmpeg安装(linux)
    Linux下安装ffmpeg下载安装包#在下载目录中下载文件wgethttps://johnvansickle.com/ffmpeg/release-source/ffmpeg-4.1.tar.xz新建安装目录cd/usr/local/#切换......
  • 关于docker-compose up执行以后的一个报错
    docker-composeup -d报错:DETAIL:ThedatadirectorywasinitializedbyPostgreSQLversion10,whichisnotcompatiblewiththisversion12.6(Debian12.6-1......
  • CentOS 7 yum 安装 Nginx
    添加CentOS7Nginxyum资源库,打开终端,使用以下命令:sudorpm-Uvhhttp://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm......