Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bernstein7/53f6615788b788c5c6f87f7a61ba92c5 to your computer and use it in GitHub Desktop.
Save bernstein7/53f6615788b788c5c6f87f7a61ba92c5 to your computer and use it in GitHub Desktop.
Attach docker-machine to existing VPS machine
docker-machine create \
--driver=generic \
--generic-ip-address=IP_ADDRESS \
--generic-ssh-user=USERNAME \
--generic-ssh-key=PATH_TO_SSH_KEY \
--generic-ssh-port=PORT \
MACHINE_NAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment