Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 2.2 KB

README.md

File metadata and controls

40 lines (32 loc) · 2.2 KB

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 "[email protected]"

Prune all images

docker system prune -a -f --volumes