openGauss
Official
skopeo copy \
--all \
docker://opengauss/opengauss:5.0.0 \
docker://registry.example.com/opengauss/opengauss:5.0.0
docker run -d \
--name opengauss \
-e GS_PASSWORD=foo \
-p 5492:5432 \
registry.example.com/opengauss/opengauss:5.0.0
Enmotech
skopeo copy \
--all \
docker://enmotech/opengauss:5.0.0 \
docker://registry.example.com/enmotech/opengauss:5.0.0
docker run -d \
--name opengauss \
--privileged=true \
-e GS_PASSWORD=foo \
-p 5492:5432 \
registry.example.com/enmotech/opengauss:5.0.0
omm user can not be used by remote connection.
psql -h 192.168.80.9 -p 5492 -U omm -d postgres
psql: error: connection to server at "192.168.80.9", port 5492 failed: FATAL: Forbid remote connection with initial user.
gaussdb user is ok.
psql -h 192.168.80.9 -p 5492 -U gaussdb -d postgres
GS_PASSWORDThis 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
ommand the test usergaussdb. Theommsuperuser is created by default during openGauss installation and the username cannot be changed at this time. The test usergaussdbis a custom-created user in the entrypoint.sh.
Enter Container
docker exec -it opengauss bash
No comments to display
No comments to display