环境一:CentOS7 + Docker-CE(version 26.1.4)
[root@DBs ~]# docker run --name opengauss --privileged=true -d -e GS_PASSWORD=******** -e GS_PORT=5435 -p5435:5435 opengauss:6.0.2
b22afeb37ed74b45923a4ad186371d2d0b4babeae1db6e1398207773fcbb68e7
[root@DBs ~]# docker logs -f opengauss
Message: The supplied GS_PASSWORD is meet requirements.
no data was returned by command “”/usr/local/opengauss/bin/gaussdb" -V"
The program “gaussdb” is needed by gs_initdb but was not found in the
same directory as “/usr/local/opengauss/bin/gs_initdb”.
Check your installation.
环境二、CentOS Stream + Docker-CE(version 28.5.2)
[root@Apps software]# docker run --name opengauss --privileged=true -d -e GS_PASSWORD=******** -e GS_PORT=5435 -p5435:5435 opengauss:6.0.2
2361219f4d6e17fbf75a3c8d39988e7a67dc2e3090922023b9ca2cb8732579df
[root@Apps software]#
[root@Apps software]#
[root@Apps software]#
[root@Apps software]# docker logs opengauss
Message: The supplied GS_PASSWORD is meet requirements.
The files belonging to this database system will be owned by user “omm”.
This user must also own the server process.
The database cluster will be initialized with locale “en_US.utf8”.
The default database encoding has accordingly been set to “UTF8”.
The default text search configuration will be set to “english”.
fixing permissions on existing directory /var/lib/opengauss/data … ok
creating subdirectories … in ordinary occasionok
creating configuration files … ok
selecting default max_connections … 100
selecting default shared_buffers … 32MB
Begin init undo subsystem meta.
[INIT UNDO] Init undo subsystem meta successfully.
硬件全是x86_64 架构的,只是宿主机环境不同、docker环境不同,镜像是一样的,请问为什么会这样,原因就是是什么?