diff --git a/bin/docker-down b/bin/docker-down index ddad5bb..f608fbb 100755 --- a/bin/docker-down +++ b/bin/docker-down @@ -12,7 +12,7 @@ if [ -f $file ]; then if [ "$images" != "" ]; then rmi="--rmi local" else - echo -e "\x1B[1;31mNo project images\x1B[0m" + echo -e "No project images" fi fi @@ -20,7 +20,7 @@ if [ -f $file ]; then docker-compose --file $file down --remove-orphans $rmi; else - echo -e "\x1B[1;31mProject not found\x1B[0m" + echo -e "Project not found" fi # stop all containers @@ -28,10 +28,10 @@ fi if [ "-a" = "$1" ] || [ "-a" = "$2" ]; then containers=$(docker ps -aq) if [ "$containers" != "" ]; then - echo -e "\x1B[1;32mRemoving containers\x1B[0m" + echo -e "Removing containers" docker stop $containers docker rm $containers else - echo -e "\x1B[1;31mNo containers\x1B[0m" + echo -e "No containers" fi fi diff --git a/bin/docker-services b/bin/docker-services index 42709ab..5f315ab 100755 --- a/bin/docker-services +++ b/bin/docker-services @@ -20,7 +20,7 @@ else elif [ -d "$service" ]; then file="$service/docker-compose.yml" else - echo -e "\x1B[1;31mService: $name not found\x1B[0m" + echo -e "Service: $name not found" exit 1 fi @@ -32,7 +32,7 @@ else if [ "$images" != "" ]; then rmi="--rmi local" else - echo -e "\x1B[1;31mNo images\x1B[0m" + echo -e "No images" fi shift fi diff --git a/bin/docker-up b/bin/docker-up index da45e1a..017991d 100755 --- a/bin/docker-up +++ b/bin/docker-up @@ -4,14 +4,14 @@ source docker-build-env # start services if [ "-a" = "$1" ] || [ "-a" = "$2" ]; then - echo -e "\x1B[1;32mStarting services\x1B[0m" + echo -e "Starting services" docker-services up fi file="$(pwd)/docker-compose.yml" if [ -f $file ]; then - echo -e "\x1B[1;32mStarting project\x1B[0m" + echo -e "Starting project" # build images before starting containers build="" @@ -21,5 +21,5 @@ if [ -f $file ]; then docker-compose --file $file up -d $build else - echo -e "\x1B[1;31mProject not found\x1B[0m" + echo -e "Project not found" fi