Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

dbist/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

  • Dockerfile 58.3%
  • Shell 41.7%