We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e63788 commit aef70beCopy full SHA for aef70be
docker/start_db_cluster.sh
@@ -30,6 +30,11 @@ docker run -d -v "$LOCATION"/jwtSecret:/jwtSecret -e ARANGO_LICENSE_KEY="$ARANGO
30
docker run -d -v "$LOCATION"/jwtSecret:/jwtSecret -e ARANGO_LICENSE_KEY="$ARANGO_LICENSE_KEY" --network arangodb --ip 172.28.3.2 --name coordinator2 "$1" arangodb --cluster.start-dbserver false --cluster.start-coordinator true --starter.join agent1 --auth.jwt-secret /jwtSecret
31
32
debug_container() {
33
+ if [ ! "$(docker ps -aqf name="$1")" ]; then
34
+ echo "$1 container not found!"
35
+ exit 1
36
+ fi
37
+
38
running=$(docker inspect -f '{{.State.Running}}' "$1")
39
40
if [ "$running" = false ]
0 commit comments