Sign inSign up

xuxuclassmate/kingbase

By xuxuclassmate

•Updated almost 3 years ago

This image is modified based on the kingbase official

Image
0

2.4K

xuxuclassmate/kingbase repository overview

This image is modified based on the kingbase official

from : haloking⁠ AND KingBase⁠


⁠Use method, please follow this order

⁠1、Download

docker pull xuxuclassmate/kingbase

⁠2、Start Container

docker run -d --name kingbase -p 54321:54321 --restart=always xuxuclassmate/kingbase

OR

docker run -d --name kingbase -p 54321:54321 -v $(pwd)/volumes/opt/data:/opt/kingbase/data -v $(pwd)/volumes/opt/license.dat:/opt/kingbase/Server/bin/license.dat --restart=always xuxuclassmate/kingbase

⁠3、Log in to KingBase

docker exec -it kingbase ksql -U kingbase TEST
⁠Default account : kingbase
⁠Default Password : root@123

⁠Case sensitive settings are turned on by default

(How to turn off case sensitive settings)

⁠1、Enter the container to modify initdb.sh file

extraParams="--encoding=UTF8"

Amend to:

extraParams="--encoding=UTF8 --case-insensitive"

⁠2、Delete existing data data files

rm -rf /opt/kingbase/data

⁠3、Exit, restart the KingBase container

Tag summary

Content type

Image

Digest

sha256:22a4bf87e…

Size

143.3 MB

Last updated

almost 3 years ago

docker pull xuxuclassmate/kingbase