Skip to content
This repository has been archived by the owner on Jun 1, 2020. It is now read-only.

Check only riak-cs running containers #22

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/start-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ CLEAN_DOCKER_HOST=$(echo "${DOCKER_HOST}" | cut -d'/' -f3 | cut -d':' -f1)
CLEAN_DOCKER_HOST=${CLEAN_DOCKER_HOST:-localhost}
DOCKER_RIAK_CS_CLUSTER_SIZE=${DOCKER_RIAK_CS_CLUSTER_SIZE:-5}

if docker ps -a | egrep "hectcastro/riak" >/dev/null; then
if docker ps | egrep "hectcastro/riak-cs" >/dev/null; then
echo
echo "It looks like you already have some Riak containers running."
echo "Please take them down before attempting to bring up another"
Expand Down