专属域名
文档搜索
轩辕助手
Run助手
邀请有礼
返回顶部
快速返回页面顶部
收起
收起工具栏
轩辕镜像 官方专业版
轩辕镜像 官方专业版轩辕镜像 官方专业版官方专业版
首页个人中心搜索镜像

交易
充值流量我的订单
工具
提交工单镜像收录一键安装
Npm 源Pip 源Homebrew 源
帮助
常见问题
其他
关于我们网站地图

官方QQ群: 1072982923

热门搜索:openclaw🔥nginx🔥redis🔥mysqlopenjdkcursorweb2apimemgraphzabbixetcdubuntucorednsjdk
opengauss

enmotech/opengauss

enmotech

openGauss是一款源自华为的开源关系型数据库,以高性能、高安全性和高可靠性为核心优势,广泛应用于***、政务、电信等关键行业领域;恩墨科技(Enmotech)作为其重要生态合作伙伴,所制作的openGauss最新镜像,旨在为用户提供便捷高效的部署体验,助力企业及开发者快速搭建稳定可靠的数据库环境,有效满足数字化转型过程中的数据管理与业务支撑需求。

47 次收藏下载次数: 0状态:社区镜像维护者:enmotech仓库类型:镜像最近更新:1 年前
轩辕镜像,不浪费每一次拉取。点击查看
版本下载
轩辕镜像,不浪费每一次拉取。点击查看

Quick Reference

  • Maintainers: https://github.com/enmotech
  • Where to get help: Mo Tian Lun-openGauss

If you are attempting to run a container of openGauss version 5.0 or later on macOS or Windows, you should use the https://hub.docker.com/r/enmotech/opengauss-lite version. This is because since version 5.0, the openGauss EE container cannot start up properly on macOS or Windows. However, there are no issues when running it on Linux.

Supported Tags and Dockerfile Links

  • https://hub.docker.com/layers/enmotech/opengauss/latest/images/sha256-6ce3ec3d591e721882c611fa26de1e56ad35ca63304c789267ed52cc6cbca70d
  • https://hub.docker.com/layers/enmotech/opengauss/6.0.0/images/sha256-6ce3ec3d591e721882c611fa26de1e56ad35ca63304c789267ed52cc6cbca70d
  • https://hub.docker.com/layers/enmotech/opengauss/5.1.0/images/sha256-1c410d46ac0776c48674a3b7b0c887c5b2c34105141a***c9d9d535bd414f
  • https://hub.docker.com/layers/enmotech/opengauss/5.0.3/images/sha256-e15c7da8ec432d754ac2a98a33da90ee8f9544cc5ff18d91e6dd075bc7715c1a
  • https://hub.docker.com/layers/enmotech/opengauss/5.0.2/images/sha256-f277894817ca82ea46e003e8565db10dd4d34a51a555a46815206e41af9b0353
  • https://hub.docker.com/layers/enmotech/opengauss/5.0.1/images/sha256-4c294a33fd255b618f4d***ab5ae230f759d0213beabf90d099a3dcd9c07?context=repo
  • https://hub.docker.com/layers/enmotech/opengauss/5.0.0/images/sha256-55a0c6300b84fb79034d2f9d9924557a0d040c2d9d33e51f8ae8a1eb097dad1e?context=repo
  • https://hub.docker.com/layers/enmotech/opengauss/3.1.1/images/sha256-95a518d150d4d1badcc2e72eae699d5ad82692d90c0c3eed0ec2ab5faec515d6?context=repo
  • https://hub.docker.com/layers/enmotech/opengauss/3.1.0/images/sha256-b2be542351fa26f3e6b3aabe212f470b9dfeaf7350e03e98c83bca77c77320ea?context=repo
  • https://hub.docker.com/layers/enmotech/opengauss/3.0.3/images/sha256-***fb4c376bf1b078adf56e7e8b5e7ee9eaf4c0951fdd85ea3ca***?context=repo
  • https://hub.docker.com/layers/opengauss/enmotech/opengauss/3.0.0/images/sha256-33a4f621386c6dfaa21110e1e0a8d42b16a7231591127f9553d6854cbebc3440?context=explore
  • https://hub.docker.com/layers/enmotech/opengauss/2.1.0/images/sha256-cd5295251e13f91ba28495f63a93587879843c34e49595caa41f6aab5b689db1?context=explore
  • https://hub.docker.com/layers/enmotech/opengauss/2.0.1/images/sha256-6484016276f41d600f954313d3498e9db0cc385855dc1aaff6b9da685aa48de1?context=explore
  • https://hub.docker.com/layers/enmotech/opengauss/2.0.0/images/sha256-2e43ab3306bf0300079726718d8b27304212eca5b49d0be418eec12d4f2ca105?context=explore
  • https://hub.docker.com/layers/enmotech/opengauss/1.1.0/images/sha256-004bfdb7c883d22b7731e***c4a4ff1fe254f47cec3ddca088bea2fd***?context=explore
  • https://hub.docker.com/layers/enmotech/opengauss/1.0.1/images/sha256-9e82b00802e8bd7a1b78344bbc77cc593303ca0b0c5bbb041192b360a5c89ccf?context=explore
  • https://hub.docker.com/layers/enmotech/opengauss/1.0.0/images/sha256-07e7a0e0c07df7c9151bd8038883e40546a9705b61b63373ebaf70dbc738c40c?context=explore

About openGauss

openGauss is an open-source relational database management system released under the Mulan PSL v2 license. The openGauss kernel was originally derived from PostgreSQL and deeply integrates Huawei's extensive experience in the database field, continuously building competitive features tailored to enterprise needs. openGauss is also an open-source, free database platform that encourages community contributions and collaboration.

openGauss Community Official Website: [***]

!logo

Features of Enmotech openGauss Image

  • Enmotech closely tracks changes in the openGauss source code and releases new versions of the image promptly.
  • Enmotech's cloud database, virtual machine database, and container version database all use the same best practice initialization configuration, ensuring a nearly identical experience when dealing with various requirements.
  • Enmotech continuously releases various images for different CPU architectures (x86 or ARM) and operating systems.

Currently supports x86-64 and ARM64 architectures, automatically determined based on the machine architecture when obtaining the image.

From version 5.0 (including 5.0):

  • Enterprise edition and Lite edition separated. https://hub.docker.com/r/enmotech/opengauss/tags is Enterprise edition, https://hub.docker.com/r/enmotech/opengauss-lite/tags is Lite edition.

From version 3.0 (including 3.0):

  • The container uses the openGauss Database Lite version
  • Default startup with idle memory less than 200M
  • Added basic commands such as vi, ps, etc.

From version 2.0 (including 2.0):

  • openGauss for x86-64 architecture runs on the Ubuntu 18.04 operating system
  • openGauss for ARM64 architecture runs on the Debian 10 operating system

Before version 1.1.0 (including 1.1.0):

  • openGauss for x86-64 architecture runs on the CentOS 7.6 operating system
  • openGauss for ARM64 architecture runs on the openEuler 20.03 LTS operating system

How to Use This Image

Start an openGauss Instance

console
$ docker run --name opengauss --privileged=true -d -e GS_PASSWORD=Enmo@123 enmotech/opengauss:latest

Environment Variables

To use the openGauss image more flexibly, additional parameters can be set. More controllable parameters will be added in future versions. The current version supports the following variables.

GS_PASSWORD

This parameter must be set when using the openGauss image. The value cannot be empty or undefined. This parameter sets the password for the openGauss database superuser omm and the test user gaussdb. The omm superuser is created by default during openGauss installation and the username cannot be changed at this time. The test user gaussdb is a custom-created user in the https://github.com/enmotech/enmotech-docker-opengauss/blob/master/1.0.1/entrypoint.sh.

The openGauss image is configured with local trust mechanism, so no password is required to connect to the database within the container. However, if connecting from outside the container (other hosts or other containers), a password must be entered.

openGauss password complexity requirements: the password must be at least 8 characters long and contain uppercase and lowercase English letters, numbers, and special characters.

GS_NODENAME

Specifies the database node name. The default is gaussdb.

GS_USERNAME

Specifies the database connection username. The default is gaussdb.

GS_PORT

Specifies the database port. The default is 5432.

Connecting to the Container Database from Outside the Container

openGauss listens on port 5432 within the container by default. To access the database from outside the container, specify the -p parameter when running docker run. For example, the following command allows access to the container database using port ***.

console
$ docker run --name opengauss --privileged=true -d -e GS_PASSWORD=Secretpassword@123 -p 15432:5432 enmotech/opengauss:latest

After successfully starting the container database with the above command, you can access the database using gsql from outside.

console
$ gsql -d postgres -U gaussdb -W'Secretpassword@123' -h your-host-ip -p15432

Persistent Storage Data

Once a container is deleted, all data and configurations within the container will also be lost. If you run a container from the image again, all data will be in the initial state. Therefore, for database containers, to prevent data loss due to the container's demise or damage, persistent storage of data is required. This can be achieved by specifying the -v parameter when running docker run. For example, the following command will specify storing all data files of openGauss on the host machine at /enmotech/opengauss. The -u root parameter is used to specify that the script is executed as the root user when the container starts, otherwise, there will be permission issues in creating the data file directory.

Note: If using podman, there will be a target path check, and the target path on the host machine needs to be created in advance.

console
$ mkdir -p /enmotech/opengauss
$ docker run --name opengauss --privileged=true -d -e GS_PASSWORD=Secretpassword@123 \
    -v /enmotech/opengauss:/var/lib/opengauss  -u root -p 15432:5432 \
    enmotech/opengauss:latest

Create Master-Slave Replication openGauss Container

  1. Pull the container image
  2. Run the script https://github.com/enmotech/enmotech-docker-opengauss/blob/master/create_master_slave.sh, enter the required parameters as prompted, or directly use the default values to automatically create two containers with a one-master-one-slave architecture of openGauss.

The above script has multiple custom parameters, the following are the parameter names (explanation) [default value].

OG_SUBNET (Container subnet) [172.11.0.0/24]
GS_PASSWORD (Define database password) [Enmo@123]
MASTER_IP (Master database IP) [172.11.0.101]
SLAVE_1_IP (Slave database IP) [172.11.0.102]
MASTER_HOST_PORT (Master database service port) [5432]
MASTER_LOCAL_PORT (Master communication port) [5434]
SLAVE_1_HOST_PORT (Slave database service port) [6432]
SLAVE_1_LOCAL_PORT (Slave communication port) [6434]
MASTER_NODENAME (Master node name) [opengauss_master]
SLAVE_NODENAME (Slave node name) [opengauss_slave1]

Usage Example

Pull the Image

console
# docker pull enmotech/opengauss:latest

Get and Run the Script to Create Master-Slave Containers

console
# wget https://raw.githubusercontent.com/enmotech/enmotech-docker-opengauss/master/create_master_slave.sh
# chmod +x create_master_slave.sh 
# ./create_master_slave.sh 
Please input OG_SUBNET (Container subnet) [172.11.0.0/24]: 
OG_SUBNET set 172.11.0.0/24
Please input GS_PASSWORD (Define database password) [Enmo@123]: 
GS_PASSWORD set Enmo@123
Please input MASTER_IP (Master database IP) [172.11.0.101]: 
MASTER_IP set 172.11.0.101
Please input SLAVE_1_IP (Slave database IP) [172.11.0.102]: 
SLAVE_1_IP set 172.11.0.102
Please input MASTER_HOST_PORT (Master database service port) [5432]: 
MASTER_HOST_PORT set 5432
Please input MASTER_LOCAL_PORT (Master communication port) [5434]: 
MASTER_LOCAL_PORT set 5434
Please input SLAVE_1_HOST_PORT (Slave database service port) [6432]: 
SLAVE_1_HOST_PORT set 6432
Please input SLAVE_1_LOCAL_PORT (Slave communication port) [6434]: 
SLAVE_1_LOCAL_PORT set 6434
Please input MASTER_NODENAME [opengauss_master]: 
MASTER_NODENAME set opengauss_master
Please input SLAVE_NODENAME [opengauss_slave1]: 
SLAVE_NODENAME set opengauss_slave1
Please input openGauss VERSION [1.0.1]: 
openGauss VERSION set 1.0.1
starting  
a70b46c7b2ddd1b6959403a0ac5b6783cf3f4100404fa628b8f055352a3e8567
OpenGauss Database Network Created.
e5430f16948639ac6a681e7f7db5ebbce8bf40c576e17ae412a3003f27b8ea14
OpenGauss Database Master Docker Container created.
bcb688c551b15d34196c249fdf934e4b8140a9181d6dde809c957405ec1ed29a
OpenGauss Database Slave1 Docker Container created.

Verify Master-Slave Status

# docker exec -it opengauss_master /bin/bash
# su - omm
Last login: Thu Oct  1 23:19:49 UTC 2020 on pts/0
$ gs_ctl query -D /var/lib/opengauss/data/
[2020-10-01 23:21:27.685][316][][gs_ctl]: gs_ctl query ,datadir is -D "/var/lib/opengauss/data"  
 HA state:           
        local_role                     : Primary
        static_connections             : 1
        db_state                       : Normal
        detail_information             : Normal

 Senders info:       
        sender_pid                     : 258
        local_role                     : Primary
        peer_role                      : Standby
        peer_state                     : Normal
        state                          : Streaming
        sender_sent_location           : 0/3000550
        sender_write_location          : 0/3000550
        sender_flush_location          : 0/3000550
        sender_replay_location         : 0/3000550
        receiver_received_location     : 0/3000550
        receiver_write_location        : 0/3000550
        receiver_flush_location        : 0/3000550
        receiver_replay_location       : 0/3000550
        sync_percent                   : 100%
        sync_state                     : Sync
        sync_priority                  : 1
        sync_most_available            : On
        channel                        : 172.11.0.101:5434-->172.11.0.102:53786

 Receiver info:      
No information 

License

Copyright (c) 2011-2024 Enmotech

The license agreement follows GPL v3.0, and you can get the detailed content of the agreement from the link below.

https://github.com/enmotech/enmotech-docker-opengauss/blob/master/LICENSE

About EnmoTech

EnmoTech is an Intelligent Data Technology provider established in 2011, headquartered in Beijing, with offices covering 35 regions globally including Hong Kong, Singapore and Sydney. Since its inception, EnmoTech has focused continuously on innovating and developing solutions for data and databases. Our range of solutions include HTAP DBMS, software defined distributed storage, database deployment, performance management and intelligent data analytics. More than 3,000 corporate clients with more than 50,000 business systems has been served and managed by EnmoTech. Learn more at [***] or contact ***

查看更多 opengauss 相关镜像 →

opengauss/opengauss logo

opengauss/opengauss

opengauss
openGauss官方Docker镜像是由openGauss官方提供的可移植容器打包格式,集成了openGauss数据库引擎、必要配置文件及运行依赖,旨在简化数据库部署流程,确保不同环境下的运行一致性,方便用户快速启动、配置和使用openGauss高性能关系型数据库,适用于开发测试、学习实践等多种场景,为用户提供便捷、高效的数据库使用体验。
14 次收藏10万+ 次下载
9 个月前更新
opengauss/opengauss-server logo

opengauss/opengauss-server

opengauss
openGauss官方简化版镜像,提供轻量级企业级开源关系型数据库服务,精简非必要组件,保留核心功能,适用于开发、测试及轻量级生产环境,支持快速部署与简化配置。
1万+ 次下载
2 个月前更新
opengauss/opengauss-webclient logo

opengauss/opengauss-webclient

opengauss
提供用于操作openGauss的Web UI界面,方便用户与镜像内的openGauss数据库进行交互。
9.3千+ 次下载
3 年前更新
opengauss/opengauss-dev logo

opengauss/opengauss-dev

opengauss
openGauss的调试版本镜像,供开发者使用,包含源代码和第三方二进制(位于/home/opengauss目录),编译时已设置-O0 -g标志和--enable-debug选项,支持快速开发和重新编译验证。
3 次收藏599 次下载
3 年前更新
apecloud/opengauss logo

apecloud/opengauss

apecloud
暂无描述
1万+ 次下载
2 年前更新
aff123/opengauss logo

aff123/opengauss

aff123
aff学习opengauss
2.1千+ 次下载
5 年前更新

轩辕镜像配置手册

探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式

Docker 配置

登录仓库拉取

通过 Docker 登录认证访问私有仓库

专属域名拉取

无需登录使用专属域名

K8s Containerd

Kubernetes 集群配置 Containerd

K3s

K3s 轻量级 Kubernetes 镜像加速

Dev Containers

VS Code Dev Containers 配置

Podman

Podman 容器引擎配置

Singularity/Apptainer

HPC 科学计算容器配置

其他仓库配置

ghcr、Quay、nvcr 等镜像仓库

Harbor 镜像源配置

Harbor Proxy Repository 对接专属域名

Portainer 镜像源配置

Portainer Registries 加速拉取

Nexus 镜像源配置

Nexus3 Docker Proxy 内网缓存

系统配置

Linux

在 Linux 系统配置镜像服务

Windows/Mac

在 Docker Desktop 配置镜像

MacOS OrbStack

MacOS OrbStack 容器配置

Docker Compose

Docker Compose 项目配置

NAS 设备

群晖

Synology 群晖 NAS 配置

飞牛

飞牛 fnOS 系统配置镜像

绿联

绿联 NAS 系统配置镜像

威联通

QNAP 威联通 NAS 配置

极空间

极空间 NAS 系统配置服务

网络设备

爱快路由

爱快 iKuai 路由系统配置

宝塔面板

在宝塔面板一键配置镜像

需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单

镜像拉取常见问题

使用与功能问题

配置了专属域名后,docker search 为什么会报错?

docker search 限制

Docker Hub 上有的镜像,为什么在轩辕镜像网站搜不到?

站内搜不到镜像

机器不能直连外网时,怎么用 docker save / load 迁镜像?

离线 save/load

docker pull 拉插件报错(plugin v1+json)怎么办?

插件要用 plugin install

WSL 里 Docker 拉镜像特别慢,怎么排查和优化?

WSL 拉取慢

轩辕镜像安全吗?如何用 digest 校验镜像没被篡改?

安全与 digest

第一次用轩辕镜像拉 Docker 镜像,要怎么登录和配置?

新手拉取配置

错误码与失败问题

docker pull 提示 manifest unknown 怎么办?

manifest unknown

docker pull 提示 no matching manifest 怎么办?

no matching manifest(架构)

镜像已拉取完成,却提示 invalid tar header 或 failed to register layer 怎么办?

invalid tar header(解压)

Docker pull 时 HTTPS / TLS 证书验证失败怎么办?

TLS 证书失败

Docker pull 时 DNS 解析超时或连不上仓库怎么办?

DNS 超时

Docker 拉取出现 410 Gone 怎么办?

410 Gone 排查

出现 402 或「流量用尽」提示怎么办?

402 与流量用尽

Docker 拉取提示 UNAUTHORIZED(401)怎么办?

401 认证失败

遇到 429 Too Many Requests(请求太频繁)怎么办?

429 限流

docker login 提示 Cannot autolaunch D-Bus,还算登录成功吗?

D-Bus 凭证提示

为什么会出现「单层超过 20GB」或 413,无法加速拉取?

413 与超大单层

账号 / 计费 / 权限

轩辕镜像免费版和专业版有什么区别?

免费版与专业版区别

轩辕镜像支持哪些 Docker 镜像仓库?

支持的镜像仓库

镜像拉取失败还会不会扣流量?

失败是否计费

麒麟 V10 / 统信 UOS 提示 KYSEC 权限不够怎么办?

KYSEC 拦截脚本

如何在轩辕镜像申请开具发票?

申请开票

怎么修改轩辕镜像的网站登录和仓库登录密码?

修改登录密码

如何注销轩辕镜像账户?要注意什么?

注销账户

配置与原理类

写了 registry-mirrors,为什么还是走官方或仍然报错?

mirrors 不生效

怎么用 docker tag 去掉镜像名里的轩辕域名前缀?

去掉域名前缀

如何拉取指定 CPU 架构的镜像(如 ARM64、AMD64)?

指定架构拉取

用轩辕镜像拉镜像时快时慢,常见原因有哪些?

拉取速度原因

查看全部问题→

用户好评

来自真实用户的反馈,见证轩辕镜像的优质服务

用户头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

轩辕镜像
镜像详情
...
enmotech/opengauss
博客公告Docker 镜像公告与技术博客
热门镜像查看热门 Docker 镜像推荐
一键安装一键安装 Docker 并配置镜像源
镜像拉取问题咨询请 提交工单,官方技术交流群:1072982923。轩辕镜像所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
镜像拉取问题咨询请提交工单,官方技术交流群:。轩辕镜像所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
商务合作:点击复制邮箱
©2024-2026 源码跳动
商务合作:点击复制邮箱Copyright © 2024-2026 杭州源码跳动科技有限公司. All rights reserved.