Created
June 3, 2015 20:45
-
-
Save ladyrassilon/31fa6877a9c24ae4e8f0 to your computer and use it in GitHub Desktop.
Revisions
-
ladyrassilon created this gist
Jun 3, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ docker_running=$(docker-machine ls | grep dev) if [[ "$docker_running" == *"Stopped"* ]] then echo "fyi - docker not running" elif [[ "$docker_running" == *"Running"* ]] then eval "$(docker-machine env dev)" fi