Sign inSign up

tensafe/gbase8s

By tensafe

•Updated 4 months ago

GBase 8s v8.8_3633x42 CSDK x86_64 image. Exposes 9088/tcp; see startup parameters.

Image
0

973

tensafe/gbase8s repository overview

⁠tensafe/gbase8s

GBase 8s Docker image copied from the local liaosnet/gbase8s:v8.8_3633x42_csdk_x64 image.

⁠Tags

  • tensafe/gbase8s:latest
  • tensafe/gbase8s:v8.8_3633x42_csdk_x64

Both tags currently point to digest sha256:10d033ca5e5bad967515d83407dab51bc0b55d87be893c9c30b630f75f0f7609.

⁠Startup

Simple single-node startup:

docker run -d \
  --platform linux/amd64 \
  --name gbase8s --hostname gbase8s \
  --privileged=true \
  -p 19088:9088 \
  -v "$HOME/docker/gbase_std:/opt/gbase/data" \
  -e SERVERNAME=gbase01 \
  -e 'USERPASS=GBase123$%' \
  -e CPUS=1 \
  -e MEMS=2048 \
  -e ADTS=0 \
  tensafe/gbase8s:v8.8_3633x42_csdk_x64

Local fixed-network example:

docker network create \
  --driver bridge \
  --subnet 172.30.0.0/24 \
  --gateway 172.30.0.1 \
  mynetwork

mkdir -p "$HOME/docker/gbase_std"

docker run -d -p 19088:9088 \
  --platform linux/amd64 \
  --network mynetwork --ip 172.30.0.21 \
  --name node11 --hostname node11 \
  --mac-address F0-F0-69-F0-F0-01 \
  --privileged=true \
  -v "$HOME/docker/gbase_std:/opt/gbase/data" \
  -e SERVERNAME=gbase01 \
  -e 'USERPASS=GBase123$%' \
  -e CPUS=1 \
  -e MEMS=2048 \
  -e ADTS=0 \
  tensafe/gbase8s:v8.8_3633x42_csdk_x64

⁠Parameters

  • Port: container 9088/tcp; common host mapping is 19088:9088.
  • SERVERNAME: database server name / GBASEDBTSERVER; default gbase01.
  • USERPASS: initial password for OS/database user gbasedbt when data is first initialized; default GBase123$%.
  • CPUS: CPU count used to tune VPCLASS cpu,num; default 1, capped by container CPU count.
  • MEMS: memory in MB used for database tuning; default 2048, minimum 1024.
  • ADTS: audit switch; 0 disables audit, 1 enables audit.
  • MODE: cluster mode, one of standard, primary, secondary; default standard.
  • LOCALIP: local cluster IP for primary/secondary mode; default 0.0.0.0.
  • PAIREIP: peer IP for primary/secondary mode; default 172.20.0.22.
  • PAIRENAME: peer server name for primary/secondary mode; default gbase02.

Common connection values for local development:

  • Host: 127.0.0.1
  • Port: 19088
  • Server: gbase01
  • User: gbasedbt
  • Password: value of USERPASS
  • Database used by TiBridge examples: testdb

Tag summary

Content type

Image

Digest

sha256:10d033ca5…

Size

272.3 MB

Last updated

4 months ago

docker pull tensafe/gbase8s