Created
February 8, 2016 17:58
-
-
Save mattattui/03e8fa3eebf50f96bece to your computer and use it in GitHub Desktop.
This file contains 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 characters
//… | |
if [ "$(docker-machine status dev)" == "Running" ]; then | |
echo "✅ Docker machine is running. Loading environment…" | |
eval $(docker-machine env dev) | |
else | |
echo "❌ Docker machine not started. Run 'docker-machine start dev' to start it." | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment