Sign inSign up

ydbplatform/local-ydb

By ydbplatform

•Updated about 18 hours ago

Local YDB is an single-node test cluster for debugging YQL-queries and run CI

Image
3

500K+

ydbplatform/local-ydb repository overview

⁠Run container

docker run -d --rm --name ydb-local -h localhost \
  --platform linux/amd64 \
  -p 2135:2135 -p 2136:2136 -p 8765:8765 -p 9092:9092 \
  -v $(pwd)/ydb_certs:/ydb_certs -v $(pwd)/ydb_data:/ydb_data \
  -e GRPC_TLS_PORT=2135 -e GRPC_PORT=2136 -e MON_PORT=8765 \
  -e YDB_KAFKA_PROXY_PORT=9092 \
  ydbplatform/local-ydb:latest

If you are using a Mac with an Apple Silicon processor, emulate the x86_64 CPU instruction set with Rosetta⁠:

  • colima⁠ with the colima start --arch aarch64 --vm-type=vz --vz-rosetta options.
  • Docker Desktop⁠ with installed and enabled Rosetta 2.

⁠Web UI of YDB

Web UI of YDB available on http://localhost:8765⁠

⁠Tag naming

Tag.Description
latestCorresponds to the most recent stable version of YDB tested on production clusters. Rebuilt for each new YDB release. Currently YDB version in latest tag is 24.3.11-hotfix.13⁠
edgeA candidate for the next stable version, currently undergoing testing. Includes new features but may not be stable and thus unsuitable for production environments.
trunk, main, nightlyThe latest version of YDB from the main development branch. Includes all recent changes and is rebuilt nightly. Similarly to edge, it is not suitable for production environments.
XX.YCorresponds to the latest minor version of YDB in a major release XX.Y, including all patches.
XX.Y.ZZCorresponds to the YDB release version XX.Y.ZZ.
XX.Y-slim, XX.Y.ZZ-slimCompressed binaries of YDB (ydbd and ydb CLI) with smaller image size but a slower startup. Uses UPX⁠.

⁠Docker image internals

Docker image local-ydb uses Dockerfile⁠ for build. Docker container starts with entrypoint initialize_local_ydb⁠ which run script local_ydb⁠. Python-script local_ydb⁠ prepares default config.yaml⁠ for start ydbd process

Tag summary

Content type

Image

Digest

sha256:9e46fd458…

Size

292.4 MB

Last updated

17 days ago

docker pull ydbplatform/local-ydb