Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save thuongdinh-agilityio/827fce9f4f2a0a966b2d to your computer and use it in GitHub Desktop.
Save thuongdinh-agilityio/827fce9f4f2a0a966b2d to your computer and use it in GitHub Desktop.
Create docker machine use generic driver with existing cert
docker-machine \
--tls-ca-cert $LOCAL_CONFIG_PATH/ca.pem \
--tls-ca-key $LOCAL_CONFIG_PATH/ca-key.pem \
--tls-client-cert $LOCAL_CONFIG_PATH/cert.pem \
--tls-client-key $LOCAL_CONFIG_PATH/key.pem \
create --driver generic --generic-ssh-user root --generic-ip-address xxx.xxx.xxx.xxx test-deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment