cockroachlabs-field / docker-examples

CockroachDB examples using Docker and Docker Compose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Shell 50.4%Language:Dockerfile 49.6%