Skip to content

Instantly share code, notes, and snippets.

View ebullient's full-sized avatar
🎉
Commonhaus, Commonhaus, Commonhaus....

Erin Schnabel ebullient

🎉
Commonhaus, Commonhaus, Commonhaus....
View GitHub Profile
#!/usr/bin/env bash
# You must have sudo ability on your machine
machine=$1
if [ -z $machine ]; then
echo "usage $0 {machine_name}"
exit
fi
docker-machine ls | grep ${machine}
if [ $? == 1 ]; then
echo "${machine} is not a docker-machine"