aperepel
914ccb6968
Fixes #1243 Custom GCE images support
...
Signed-off-by: Andrew Grande <aprepel@gmail.com>
Signed-off-by: David Gageot <david@gageot.net>
2015-10-29 11:11:32 +01:00
David Gageot
d855c35059
Merge pull request #2112 from dgageot/gce-driver-lost-commits
...
Gce driver lost commits
2015-10-29 10:17:50 +01:00
David Gageot
b213da0961
Use PreCreateCheck to check the project/credentials
...
Signed-off-by: David Gageot <david@gageot.net>
2015-10-29 10:05:24 +01:00
David Gageot
8e7a85b8b9
Fix the doc. It should be "Project ID"
...
Signed-off-by: David Gageot <david@gageot.net>
2015-10-29 10:05:19 +01:00
David Gageot
e53b52de03
Improve documentation for google driver
...
Signed-off-by: David Gageot <david@gageot.net>
2015-10-29 10:05:13 +01:00
Nathan LeClaire
c660130f17
Merge pull request #2109 from nathanleclaire/rm_redundant_errlog
...
Remove redundant error log
2015-10-28 15:22:23 -07:00
Nathan LeClaire
232c611464
Merge pull request #2087 from dgageot/gce-default-auth
...
Use Google default authentication
2015-10-28 15:18:24 -07:00
Nathan LeClaire
cf83277557
Merge pull request #2107 from dgageot/2093-vtx-warning
...
FIX #2093 warn in case we think VT-X is not enabled.
2015-10-28 15:08:05 -07:00
David Gageot
970c630fd3
FIX #2093 warn in case we think VT-X is not enabled.
...
Signed-off-by: David Gageot <david@gageot.net>
2015-10-28 22:22:04 +01:00
David Gageot
77c2bbcdd2
FIX #2023 and #1061 Use google default authentication
...
Signed-off-by: David Gageot <david@gageot.net>
2015-10-28 22:16:22 +01:00
Nathan LeClaire
c04eb43021
Remove redundant error log
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-10-28 13:56:29 -07:00
David Gageot
a512b907cf
Merge pull request #2106 from flavio/fix-openstack-driver
...
Fix panic when using openstack driver
2015-10-28 09:31:02 +01:00
Flavio Castelli
2339e548f6
Fix panic when using openstack driver
...
The openstack driver was unusable because some cli flags were redifined.
That caused a runtime error like:
create flag redefined: openstack-ssh-user
panic: create flag redefined: openstack-ssh-user
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
2015-10-28 08:53:54 +01:00
Olivier Gambier
52de03f64b
Merge pull request #2105 from IanLee1521/patch-1
...
Fixed typo
2015-10-27 20:37:50 -07:00
Ian Lee
8e58932db5
Fixed typo
...
Signed-off-by: Ian Lee <IanLee1521@gmail.com>
2015-10-27 19:35:30 -07:00
Olivier Gambier
4cfcc3ba32
Merge pull request #2103 from nathanleclaire/git_tag_mk
...
Pipe error output from git line to /dev/null
2015-10-27 18:26:24 -07:00
Nathan LeClaire
fb8d964966
Pipe error output from git line to /dev/null
...
This will simply leave the tag empty if compiled independent of a source
repository.
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-10-27 17:19:41 -07:00
Nathan LeClaire
9f01770d7e
Merge pull request #2084 from dgageot/simpler-env-hints
...
Simpler code for env usage hints.
2015-10-27 11:59:51 -07:00
Nathan LeClaire
9a26a9fc04
Merge pull request #2097 from dgageot/better-vbox-error-message
...
Print a better error when virtualbox fails
2015-10-27 11:59:24 -07:00
Olivier Gambier
104ebf58cf
Merge pull request #2090 from nathanleclaire/heartbeat_disconnect
...
Stop heartbeat when there is an issue connecting to the server
2015-10-27 11:41:40 -07:00
David Gageot
d316eb7e96
Print a better error when virtualbox fails
...
Instead of printing `exit status 1` we'll print
the stderr output
Signed-off-by: David Gageot <david@gageot.net>
2015-10-27 15:23:29 +01:00
Nathan LeClaire
3dd578318a
Stop heartbeat when there is an issue connecting to the server
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-10-26 12:55:48 -07:00
Nathan LeClaire
9fa2f73139
Merge pull request #2032 from hairyhenderson/make-active-work-with-swarm-1311
...
Returning active host when swarm is active
2015-10-26 12:54:44 -07:00
Nathan LeClaire
ae973a96c0
Merge pull request #2088 from dgageot/fix-get-hostname
...
Fix get hostname
2015-10-26 11:35:05 -07:00
David Gageot
6c5dc41e6d
Revert "Remove useless duplication on GetSSHHostname"
...
This reverts commit b6462eb6d0 .
Signed-off-by: David Gageot <david@gageot.net>
2015-10-26 18:47:14 +01:00
David Gageot
57dc1156de
Revert "Remove duplication over GetIP"
...
This reverts commit 99aacc7b79 .
Signed-off-by: David Gageot <david@gageot.net>
2015-10-26 18:47:03 +01:00
David Gageot
a7559fd3a8
Revert "Generic and Base slight cleanups"
...
This reverts commit 19625def22 .
Signed-off-by: David Gageot <david@gageot.net>
2015-10-26 18:46:54 +01:00
Olivier Gambier
99b564e804
Merge pull request #2070 from dgageot/1985-build-with-docker-on-travis
...
FIX #1985 Build with Docker on TravisCI
2015-10-26 10:08:18 -07:00
Olivier Gambier
7ecb221444
Merge pull request #2083 from dgageot/remove-dead-code
...
Remove dead code
2015-10-26 10:07:27 -07:00
David Gageot
2d1e6d0163
Simpler code for env usage hints.
...
We can just output the original os.Args in the
eval call.
Signed-off-by: David Gageot <david@gageot.net>
2015-10-26 10:31:18 +01:00
David Gageot
ab1b0ca2e9
Remove dead code
...
Signed-off-by: David Gageot <david@gageot.net>
2015-10-26 09:35:12 +01:00
David Gageot
f155bc9df9
Merge pull request #2073 from nathanleclaire/fix_cert_env
...
Fix cert env
2015-10-26 09:31:26 +01:00
David Gageot
956b0bb65c
FIX #1985 Build with Docker on TravisCI
...
Signed-off-by: David Gageot <david@gageot.net>
2015-10-26 09:20:11 +01:00
Dave Henderson
ee4a357441
Returning active host when swarm is active
...
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
2015-10-24 12:47:49 -04:00
Olivier Gambier
e421a07336
Merge pull request #2072 from nathanleclaire/mk_install
...
Re-add make install to Makefile
2015-10-23 17:43:43 -07:00
Nathan LeClaire
fd5f3ad0cc
Re-add make install to Makefile
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-10-23 16:40:23 -07:00
Nathan LeClaire
b038ff4020
Fixes https://github.com/docker/machine/issues/2062
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-10-23 13:58:32 -07:00
Nathan LeClaire
8b9291de64
Merge pull request #2033 from dmp42/03-cleanup
...
Code cleanup
2015-10-23 11:27:44 -07:00
Olivier Gambier
4bd43d604f
Merge pull request #2053 from nathanleclaire/rpc_heartbeat
...
Add heartbeat / automatic server cleanup code
2015-10-23 10:40:45 -07:00
Olivier Gambier
19625def22
Generic and Base slight cleanups
...
- tests for GetIP
- extract default values into consts (user & port)
- better error handling (cert permissions change)
- unexport Driver for generic (linting)
- ordering of methods and variables for better readability
Signed-off-by: Olivier Gambier <olivier@docker.com>
2015-10-23 10:38:57 -07:00
Olivier Gambier
4e7f8ed7a6
Merge pull request #1856 from databus23/b2d_gh_enterprise_urls
...
support github enterprise urls for b2d downloads
2015-10-23 10:37:46 -07:00
David Gageot
c99bb22eeb
Merge pull request #2028 from dmp42/02-build-fixes
...
Minor cleanup and fix #2022
2015-10-23 18:50:04 +02:00
Olivier Gambier
8cfc28e37a
Merge pull request #2065 from dgageot/adding-localhost-to-alt_names
...
Adding localhost to the list of alt_names
2015-10-23 09:07:54 -07:00
David Gageot
768a044dad
Merge pull request #2067 from brutasse/patch-1
...
Typo in EXOSCALE_IMAGE
2015-10-23 16:45:08 +02:00
Bruno Renié
658a6bc1b3
Typo in EXOSCALE_IMAGE
...
Signed-off-by: Bruno Renié <brutasse@gmail.com>
2015-10-23 14:47:30 +02:00
Dave Goehrig
1df80ba111
Adding localhost to the list of alt_names
...
When attempting to connect to the docker api from the machine itself,
the TLS verification of the certificate checked against the public
IP address of the primary interface. This is undesirable on hosts
which have NAT rules that block access to that address by default.
Adding "localhost" to the list of alt_names allows the cert to be
verified and connections to localhost (either 127.0.0.1 or [::1]) to
the port to pass verification. Otherwise one would need to disable
verification just to connect to the local docker instance.
Signed-off-by: David Gageot <david@gageot.net>
2015-10-23 09:57:55 +02:00
Nathan LeClaire
76c7accda0
Add heartbeat / automatic server cleanup code
...
This replaces the previous method of attempting to clean up servers when
an unexpected exit occurs in the client (e.g. SIGINT or panic) by a
heartbeat protocol. If the server does not hear from the connecting
client within a certain interval of time (500ms in this commit), it will
de-activate itself. This prevents dangling Docker Machine server
processes from accumulating.
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-10-22 19:44:35 -07:00
Nathan LeClaire
0ac5c901d2
Merge pull request #2054 from SvenDowideit/fix-errant-links
...
Fix some links found with linkchecker
2015-10-22 16:16:47 -07:00
Sven Dowideit
834c687226
Fix some links found with linkchecker
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2015-10-23 09:07:02 +10:00
Nathan LeClaire
9911019102
Merge pull request #1993 from leedm777/completion
...
Adding bash completion and helper scripts
2015-10-22 15:06:27 -07:00