From 085f1e71900be54c48d1e9eb85c37f86d26035e4 Mon Sep 17 00:00:00 2001 From: Yu Jiaxin Date: Mon, 27 Sep 2021 15:25:12 +0800 Subject: [PATCH] fix sample command does not work the docker image cassandra:latest does not support cqlversion 3.4.4 which is the default cqlversion of nuvo/docker-cqlsh:latest --- site-content/source/modules/ROOT/pages/quickstart.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site-content/source/modules/ROOT/pages/quickstart.adoc b/site-content/source/modules/ROOT/pages/quickstart.adoc index a5c5a5316..c7e3b2351 100644 --- a/site-content/source/modules/ROOT/pages/quickstart.adoc +++ b/site-content/source/modules/ROOT/pages/quickstart.adoc @@ -90,7 +90,7 @@ The CQL shell, or cqlsh, is one tool to use in interacting with the database. We [source] -- -docker run --rm --network cassandra -v "$(pwd)/data.cql:/scripts/data.cql" -e CQLSH_HOST=cassandra -e CQLSH_PORT=9042 nuvo/docker-cqlsh +docker run --rm --network cassandra -v "$(pwd)/data.cql:/scripts/data.cql" -e CQLSH_HOST=cassandra -e CQLSH_PORT=9042 -e CQLVERSION=3.4.5 nuvo/docker-cqlsh -- Note: The cassandra server itself (the first docker run command you ran) takes a few seconds to start up. The above command will throw an error if the server hasn't finished its init sequence yet, so give it a few seconds to spin up.