Open taroface opened 4 years ago
Would be nice to include in the online cockroachdb guide some more installation precisions (specifically, for docker + single-node / insecure setup), such as the below instructions (at least, those are the ones I've used that worked for me, but I lost some time putting those together initially..):
# docker version
)# docker pull cockroachdb/cockroach:v21.2.3
# docker run -d --name=cockroachdb --hostname=localhost -p 26257:26257 -p 26256:8080 -v "~/cockroach-data:/cockroach/cockroach-data" cockroachdb/cockroach:v21.2.3 start-single-node --insecure
# docker exec -it cockroachdb ./cockroach sql --insecure
thanks
Ryan Kuo (taroface) commented:
Per @nvanbenschoten:
The above technically also applies to our local Kubernetes docs, but is a lower priority since running a multi-node cluster vs. a single-node cluster introduces less friction in K8s than it does in Docker.
Jira Issue: DOC-443