Commit Graph

2739 Commits

Author SHA1 Message Date
Vincent Bernat 05aea83271 exoscale: add support for CoreOS
The egoscale binding for exoscale was limiting the images that could be
selected by a user to Ubuntu one only. Enable the use of arbitrary
images. For example, the following images are now available:

 - centos-6.6
 - centos-7.1
 - coreos-stable-835
 - debian-7
 - debian-8
 - ubuntu-12.04
 - ubuntu-14.04
 - ubuntu-15.10

The default user for non-Ubuntu images are not "ubuntu". Let the user
choose the appropriate user ("core" for CoreOS and "debian" for Debian).

CoreOS user are likely to want the ability to provide custom user data
as it enables the configuration of the etcd cluster. We add an option to
provide custom user data file. Moreover, we remove some of the default
options as they are not supported in CoreOS and are useless on
Debian/Ubuntu:

 - Resizing of rootfs is already done on all images by default.
 - Docker Machine will set the hostname as part of the provisioning.

Signed-off-by: Vincent Bernat <Vincent.Bernat@exoscale.ch>
2016-03-22 08:20:35 +01:00
David Gageot e536ed6738 Merge pull request #3200 from ppadala/patch-1
Specify the format for azure-image specification
2016-03-17 17:59:54 +01:00
David Gageot e0f41d3014 Merge pull request #3204 from znz/fix-typo
fix a typo (--create -> create)
2016-03-17 17:59:17 +01:00
Kazuhiro NISHIYAMA c146111ede fix a typo (--create -> create)
Signed-off-by: Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
2016-03-18 00:27:16 +09:00
Pradeep Padala 6baf69e236 Specify the format for azure-image specification
Signed-off-by: Pradeep Padala <pradeep@containerx.io>
2016-03-16 16:04:16 -07:00
Nathan LeClaire 5802eed1c7 Merge pull request #3196 from troyfontaine/aws_docs_update
Updated docs for AWS
2016-03-16 15:54:33 -07:00
Troy Fontaine ab559c542f Added suggested modifications
Signed-off-by: Troy Fontaine <tfontaine@troyfontaine.com>
2016-03-15 22:44:20 -05:00
Troy Fontaine 036d2d99a2 Updated docs for AWS
Signed-off-by: Troy Fontaine <tfontaine@troyfontaine.com>
2016-03-15 18:10:04 -05:00
Nathan LeClaire 25672016fa Merge pull request #3194 from ahmetalpbalkan/azure-static-ip
azure: Add --azure-static-public-ip flag
2016-03-15 11:40:11 -07:00
Nathan LeClaire 3e1aaca74e Merge pull request #3195 from BSWANG/master
Add docker daemon systemd requirement on redhat
2016-03-15 11:39:52 -07:00
Nathan LeClaire 282fdebeaf Merge pull request #3124 from StefanScherer/set-nictype1
Add flag --virtualbox-nictype to set NIC type of eth0
2016-03-15 11:39:10 -07:00
bingshen.wbs 9914e4027e add systemd requirement
Signed-off-by: bingshen.wbs <bingshen.wbs@alibaba-inc.com>
2016-03-15 16:19:54 +08:00
Ahmet Alp Balkan b898c07ad6 azure: Add --azure-static-public-ip flag
This flag creates Azure VMs with static public IPs that don’t
get released when the VM is deallocated.

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2016-03-14 21:47:51 -07:00
Nathan LeClaire ef4823f2ac Merge pull request #3159 from ahmetalpbalkan/azure-arm
New Microsoft Azure docker-machine driver
2016-03-14 18:28:51 -07:00
Ahmet Alp Balkan 9fd035ecba azure.md: Address docs comments
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2016-03-14 17:36:24 -07:00
Nathan LeClaire 6d41f4ae46 Merge pull request #3172 from xinxian0458/issue-3145
fixed issue-3145, enable engine-install-url in CentOS.
2016-03-14 15:25:12 -07:00
Stefan Scherer f0ac1c00ea Add flag --virtualbox-nictype to set nictype1
Signed-off-by: Stefan Scherer <scherer_stefan@icloud.com>
2016-03-14 22:49:27 +01:00
Jie Zhang 93fe1d199f fixed issue-3145, enable engine-install-url in CentOS.
Signed-off-by: Jie Zhang <zhangjie0220@gmail.com>
2016-03-14 14:24:44 +08:00
David Gageot ae3244d172 Merge pull request #3186 from dweomer/readme-fix-outbound-404-to-unoffocial-master-binaries
address #2718 by removing the section with bad link
2016-03-13 18:33:39 +01:00
Jacob Blain Christen 1ff3d36665 address #2718 by removing the section referring to unofficial master binaries in the README
Signed-off-by: Jacob Blain Christen <dweomer5@gmail.com>
2016-03-13 00:50:11 -07:00
Ahmet Alp Balkan 44200e7a04 Case-insensitive Azure Resource Provider matching
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2016-03-12 18:18:53 -08:00
Nathan LeClaire 67485c60a8 Merge pull request #3165 from paul-callahan/3060-vboxnet-iface-conflict
add code and tests to detect vboxnet collision with host interfaces
2016-03-11 15:52:36 -08:00
Ahmet Alp Balkan 809104d7ea azure.md: Documentation clarification
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2016-03-11 13:31:03 -08:00
David Gageot 5648ebe83b Merge pull request #3097 from tpires/1858-generic-engine-port
FIX #1858 Add engine port
2016-03-11 21:21:35 +01:00
Tiago Pires 63ea976b1d FIX #1858 Add engine port
Added flag `--generic-engine-port` to `generic` drive in order to specify other port than `2376` on
Docker engine.
Updated `generic` driver documentation.

Signed-off-by: Tiago Pires <tandrepires@gmail.com>
2016-03-11 13:13:30 +00:00
Ahmet Alp Balkan ec33a7dfc3 Add RELEASE.md note about deprecation notice
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2016-03-10 17:00:54 -08:00
Nathan LeClaire ccc5fe6c7d Merge pull request #3176 from clnperez/build-w-alternate-workspace
Add example for building using existing workspace
2016-03-10 16:48:27 -08:00
Ahmet Alp Balkan ce3cb54482 Update default image to Ubuntu 15.10
- Default image now is ubuntu server 15.10. This ensures consistency with
  other cloud drivers.
- Better error message when virtual machine already exists.
- Change default SSH user from `ubuntu` to `docker-user`.

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2016-03-10 16:36:21 -08:00
Paul Callahan 0db41d0a92 add code and tests to detect vboxnet collision with host interfaces
+ exclude existing host-only nets from list of host interfaces
+ interface and mocks for system calls to net.*

Signed-off-by: Paul Callahan <paul.callahan@gmail.com>
2016-03-10 15:05:26 -08:00
Christy Perez 4a4f060122 Add example for building using existing workspace
If you already have docker machine cloned, or want to use an
existing workspace to clone it to, this helps with what your
GOPATH should be set to.

Also cleanining up the formatting of the previous block to
match others on the page.

Signed-off-by: Christy Perez <christy@linux.vnet.ibm.com>
2016-03-10 16:25:32 -06:00
Ahmet Alp Balkan 7b96160454 Friendly deprecation notice for old driver VMs
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2016-03-09 15:43:49 -08:00
David Gageot 5a270c9751 Merge pull request #3160 from zembutsu/patch-1
fix typo
2016-03-08 06:27:09 +01:00
Masahito Zembutsu b8b1eb6e9f fix typo
Signed-off-by: Masahito Zembutsu <m.zembutsu@gmail.com>
2016-03-08 13:59:33 +09:00
Ahmet Alp Balkan ed95f3baab New Microsoft Azure docker-machine driver
The new driver uses Azure Resource Manager APIs and offers a lot
more functionality compared to the old Azure driver. It is also
easier to authenticate and does not require user to create and place
certificate files. It only has a single required argument.

This is a breaking change: The new driver cannot work with machines
created with the older Azure driver and vice versa (as the APIs are
entirely different and resources are not shared between old/new azure
APIs).

The new driver addresses many issues about the azure driver reported
so far.

This resolves #2742, resolves #1368, resolves #1142, resolves #2236,
resolves #2408, resolves #1126, resolves #774.

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2016-03-07 19:55:51 -08:00
Nathan LeClaire 475053cd7f Merge pull request #3147 from nathanleclaire/fix_nitpick
Fix amazonec2 test nitpicks
2016-03-07 17:13:25 -08:00
Nathan LeClaire 7452cb2c4f Fix amazonec2 test nitpicks
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-03-07 16:45:58 -08:00
Nathan LeClaire f7d4761390 Merge pull request #3140 from SeerUK/master
Updated VMWare Fusion driver to attempt to bind mount the share directory, to fix #2050.
2016-03-07 16:45:19 -08:00
Nathan LeClaire 4d68c92a78 Merge pull request #3158 from tyrken/vsphere-port-default
Default to port 443 for all vsphere actions, not just creation
2016-03-07 15:20:37 -08:00
Nathan LeClaire 8a178781f4 Merge pull request #3157 from ahmetalpbalkan/azure
Remove azure driver temporarily + Godeps for new azure driver
2016-03-07 15:20:01 -08:00
Ahmet Alp Balkan b53f020c90 Remove azure driver temporarily
This commit temporarily removes Azure driver and its dependencies
from the source tree and adds dependencies for the new Azure driver
(so that Azure driver PR will not have godeps changes and will be
easier to review).

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2016-03-07 13:34:09 -08:00
Tristan Keen 1b919459e8 Default to port 443 for all vsphere actions, not just creation
Signed-off-by: Tristan Keen <tristan.keen@gmail.com>
2016-03-07 21:31:27 +00:00
David Gageot 06f4d6dba5 Merge pull request #3154 from menglingwei/add-aliyun
add Aliyun ECS Docker Machine Driver Plugin
2016-03-06 17:20:37 +01:00
menglingwei 40939942a1 add Aliyun ECS Docker Machine Driver Plugin
Signed-off-by: 治世 <xiaobing.meng@alibaba-inc.com>
2016-03-06 13:55:28 +08:00
Nathan LeClaire 1a0a740e27 Merge pull request #3111 from jsirois/jsirois/amazoneec2/multiple_sgs
Support multiple `--amazonec2-security-group`s.
2016-03-04 11:48:49 -08:00
David Gageot fa986949e0 Merge pull request #3120 from daehyeok/Driver_env
DRIVER environment variable
2016-03-04 07:29:26 +01:00
Nathan LeClaire 698958f61a Merge pull request #3144 from bamarni/do-existing-ssh-key
[DigitalOcean] Allow to use an existing SSH key (closes #1445)
2016-03-03 11:34:15 -08:00
Bilal Amarni 17c6578583 [DigitalOcean] Allow to use an existing SSH key (closes #1445)
Signed-off-by: Bilal Amarni <bilal.amarni@gmail.com>
2016-03-03 10:35:32 +01:00
John Sirois 494ba5f010 Support multiple `--amazonec2-security-group`s.
Maintains support for loading old Driver config.json that use the
singular `SecurityGroupName` field, but also adds a new plural
`SecurityGroupNames` field.

This change also bumps to latest stretchr/testify, in the course of
adding a dep on stretchr/testify/mock to help test the modified
`configureSecurityGroups` code.

The unused `deleteSecurityGroup` is dropped as well.

Signed-off-by: John Sirois <john.sirois@gmail.com>
Signed-off-by: Bill Farner <terasurfer@gmail.com>
2016-03-02 23:30:28 -07:00
Nathan LeClaire 83afe2bec2 Merge pull request #3142 from dgageot/small-improvements-libmachine
Small improvements libmachine
2016-03-02 17:14:32 -08:00
Daehyeok Mun aa461f079d DRIVER environment variable
Signed-off-by: Daehyeok Mun <daehyeok@gmail.com>
2016-03-02 17:44:15 -07:00