0

在我做 docker-compose up 之后我遇到了错误

cadence_1      | Connection error: ('Unable to connect to any servers', {'172.18.0.3:9042': error(111, "Tried connecting to [('172.18.0.3', 9042)]. Last error: Connection refused")})
cadence_1      | + echo 'waiting for cassandra to start up'
cadence_1      | + sleep 1
cadence_1      | waiting for cassandra to start up
cadence_1      | + cqlsh --cqlversion=3.4.4 cassandra
cadence_1      | Connection error: ('Unable to connect to any servers', {'172.18.0.3:9042': error(111, "Tried connecting to [('172.18.0.3', 9042)]. Last error: Connection refused")})
cadence_1      | + echo 'waiting for cassandra to start up'
cadence_1      | + sleep 1
4

1 回答 1

1

尝试修剪你的卷。执行:

docker-compose down
docker volume prune
docker-compose up
于 2020-08-06T19:42:30.740 回答