Skip to content

CockroachDB examples using Docker and Docker Compose

Notifications You must be signed in to change notification settings

timveil-cockroach/docker-examples

 
 

Repository files navigation

CockroachDB Docker Examples

Examples

Useful commands

Generate and Download Debug Archive

Generate debug.zip file on crdb-0. For more details see https://www.cockroachlabs.com/docs/stable/debug-zip.html

docker compose exec crdb-0 /cockroach/cockroach debug zip ./cockroach-data/logs/debug.zip --insecure

Copy debug.zip from crdb-0 to current local directory

docker cp crdb-0:/cockroach/cockroach-data/logs/debug.zip .

Prune Docker Images, etc.

Prune all images matching label

docker system prune -a -f --volumes --filter "label=maintainer=tjveil@gmail.com"

Prune all images

docker system prune -a -f --volumes

About

CockroachDB examples using Docker and Docker Compose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 50.4%
  • Dockerfile 49.6%