Skip to content

Instantly share code, notes, and snippets.

@attawayinc
Last active February 10, 2021 01:58
Show Gist options
  • Save attawayinc/c0b46ddd2f86a4cc07f042bdfdad41bb to your computer and use it in GitHub Desktop.
Save attawayinc/c0b46ddd2f86a4cc07f042bdfdad41bb to your computer and use it in GitHub Desktop.
docker-machine
# Now, install Docker Machine on your Linux computer with the following command:
base=https://github.com/docker/machine/releases/download/v0.16.0 &&
curl -L $base/docker-machine-$(uname -s)-$(uname -m) >/tmp/docker-machine &&
sudo install /tmp/docker-machine /usr/local/bin/docker-machine
# You should install the Docker Machine bash auto completion scripts. To do that, run the following command:
base=https://raw.githubusercontent.com/docker/machine/v0.16.0
for i in docker-machine-prompt.bash docker-machine-wrapper.bash docker-machine.bash
do
sudo wget "$base/contrib/completion/bash/${i}" -P /etc/bash_completion.d
done
docker-machine create --driver=virtualbox default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment