3463 Commits

Author SHA1 Message Date
Guillaume Rose
b170508bf4 Merge pull request #4748 from StefanScherer/update-golang-1-12-9
Update golang 1.12.9
2019-09-02 03:13:42 -07:00
Stefan Scherer
9f4d13b30d Update golang 1.12.9
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2019-08-30 11:15:48 +02:00
Guillaume Rose
a555e4f7a8 Merge pull request #4710 from Serozd/arch-storage-driver
set storage driver to overlay2 for archlinux
2019-07-18 07:41:02 +02:00
Guillaume Rose
2b369175bc Merge pull request #4679 from afbjorklund/svm
Fix broken IsVTXDisabled detection on AMD CPU
2019-07-18 07:30:54 +02:00
Serhii R
8eb98e336b set storage driver to overlay2 for archlinux
Signed-off-by: Serhii R <SRozdorozhnii@luxoft.com>
2019-05-14 15:34:27 +03:00
Anders F Björklund
173a41dd53 Fix broken IsVTXDisabled detection on AMD CPU
VMX is in FeatureNames, but SVM is in ExtraFeatureNames
This meant that detection *always* failed for SVM (AMD)

Thanks to user @hilbertxia

Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
2019-03-02 14:24:37 +01:00
Chris Crone
61ef47dc5d Merge pull request #4654 from ulyssessouza/master
Removing "dgageot" handle form "Core maintainers"
2019-01-24 17:34:12 +01:00
Ulysses Souza
7de3f3c0f4 Removing "dgageot" handle form "Core maintainers" since it's description doesn't exist anymore (see 60613ca470)
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2019-01-24 16:42:49 +01:00
David Gageot
58792cde6f Merge pull request #4650 from dgageot/remove-dgageot
Remove myself from the list of maintainers
2019-01-18 10:04:51 -05:00
David Gageot
60613ca470 Remove myself from the list of maintainers
Signed-off-by: David Gageot <david@gageot.net>
2019-01-17 14:10:07 -05:00
Chris Crone
3d53099865 Merge pull request #4646 from shin-/remove_maintainer
Remove shin- from active maintainers list
2019-01-15 11:59:36 +01:00
Joffrey F
da59a6ef04 Remove @shin- from active maintainers list
Signed-off-by: Joffrey F <joffrey@docker.com>
2019-01-14 15:11:11 -08:00
David Gageot
77e027b1e8 Merge pull request #4350 from zmthy/amazonec2-ssh-port
Add ssh-port flag to the amazonec2 driver
2019-01-13 08:55:53 +01:00
David Gageot
6ab5418ab4 Merge pull request #4506 from Jason-ZW/add-nonempty-flag
Add nonempty flag
2019-01-13 08:55:31 +01:00
David Gageot
10d5119334 Merge pull request #4509 from gbraad/localized-switches
Allow localized names for Virtual Switch
2019-01-13 08:54:58 +01:00
David Gageot
fb59f089f1 Merge pull request #4527 from classmarkets/google-service-account
drivers/google: Add support for non-default service account
2019-01-13 08:54:38 +01:00
David Gageot
621d44c15e Merge pull request #4603 from xinau/openstack-metadata
drivers/openstack: added flag openstack-metadata
2019-01-13 08:53:30 +01:00
David Gageot
d3f89ca7a1 Merge pull request #4609 from 0xmohit/patch-1
drivers/softlayer: don't set the request method again
2019-01-13 08:52:56 +01:00
David Gageot
70d89435be Merge pull request #4634 from albgus/eu-north-1
Add AWS region eu-north-1
2019-01-13 08:52:23 +01:00
Christopher Crone
a773edc6f0 Add intel-go/cpuid using constraint
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2019-01-09 09:22:55 -08:00
Albin Gustavsson
8300259a37 Add AWS region eu-north-1
Signed-off-by: Albin Gustavsson <git@gustavsson.online>
2019-01-08 23:45:53 +01:00
Cezar Sa Espinola
55bfb59b67 plugin/localbinary: Exit output stream goroutines when plugin closes
This commit ensures that when a plugin instance is closed the goroutines
responsible for streaming stdout and stderr of the called binary will
also exit, preventing a goroutines leak.

Before this commit these goroutines could stay blocked forever if
Close() was called while the binary still had some pending output.

I found this bug after debugging a real world goroutine leak, the
goroutines dump would show thousands of goroutines at:

```
github.com/tsuru/tsuru/vendor/github.com/docker/machine/libmachine/drivers/plugin/localbinary.stream(0xc023013d80, 0xc0000aad20)
	/home/travis/gopath/src/github.com/tsuru/tsuru/vendor/github.com/docker/machine/libmachine/drivers/plugin/localbinary/plugin.go:177 +0x7c
created by github.com/tsuru/tsuru/vendor/github.com/docker/machine/libmachine/drivers/plugin/localbinary.(*Plugin).AttachStream
	/home/travis/gopath/src/github.com/tsuru/tsuru/vendor/github.com/docker/machine/libmachine/drivers/plugin/localbinary/plugin.go:183 +0x67
```

Signed-off-by: Cezar Sa Espinola <cezarsa@gmail.com>
2019-01-08 14:45:53 -08:00
Jade Auer
5a8ce1ae43 use CPUID instead of shelling out for VT-d detection
Signed-off-by: Jade Auer <jda@tapodi.net>
2019-01-08 14:44:00 -08:00
Konstantin Malanchev
ff19455ba8 Support of new openSUSE releases
- Only name for all SUSE family is used
- Prevent to rewrite `/usr/sbin/docker-runc` provided by modern `docker-runc` package with broken link.

Signed-off-by: Konstantin Malanchev <hombit@gmail.com>
2019-01-08 14:40:16 -08:00
Mohit Agarwal
7c5bd37180 drivers/softlayer: don't set the request method again
It would be set by the request returned by http.NewRequest.

Signed-off-by: Mohit Agarwal <mohit@sdf.org>
2018-11-18 15:40:29 +05:30
Joffrey F
821e8c76f0 Fix changelog date
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-11-08 14:05:10 -08:00
Joffrey F
12b8f373fc Changelog 0.16.0
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-11-08 14:04:17 -08:00
xinau
1e3fa2d2cf added flag for openstack metadata
Signed-off-by: xinau <felix.ehrenpfort@codecentric.cloud>
2018-11-06 14:47:17 +00:00
Grachev Mikhail
15cde711f7 Fix typo
Signed-off-by: Mikhail Grachev <work@mgrachev.com>
2018-10-31 16:39:58 -07:00
Julien Barbot
46b43ebeea Update path of golint
The new path is golang.org/x/lint/golint.
See ead987a65e.

Signed-off-by: Julien Barbot <jubarbot@cisco.com>
2018-10-31 16:39:04 -07:00
Florian Ludwig
b36cb27a04 openstack: don't fail when trying to delete non-existing keypair
Signed-off-by: Florian Ludwig <f.ludwig@greyrook.com>
2018-09-20 14:35:00 -07:00
liusheng
7909ee37a4 Fix integrate tests of core commands cases
Signed-off-by: liusheng <liusheng@huawei.com>
2018-09-19 17:01:26 -07:00
F. Eugene Aumson
dccdee0102 aws ec2 preqreq check: match error to filter
filter to search for a subnet searches by both regionZone and VpcId,
but when no matches were found, the error message neglected to mention
that the VPC ID was part of the search criteria

Signed-off-by: F. Eugene Aumson <feuGeneA@github.com>
2018-09-19 16:38:38 -07:00
F. Eugene Aumson
69717945a4 amazonec2: correct mis-handling of 'none' VPC
Without this change,

docker-machine create \
    --driver amazonec2 \
    --amazonec2-security-group parity-security-group \
    --amazonec2-instance-type t2.medium \
    --amazonec2-access-key ... \
    --amazonec2-secret-key ... \
    --amazonec2-root-size 128 \
    parity-node

yields the program output

Error with pre-create check: "unable to find a subnet in the zone: us-e
ast-1a"

which comes from drivers/amazonec2/amazonec2.go:506.

But that message is misleading.  After sprinkling in some
`fmt.Println`s, I discovered that the missing piece of info is not
actually the subnet, but rather the VPC ID, which is "none".

With this change, that same command now yields:

Error setting machine configuration from flags provided: amazonec2 driv
er requires either the --amazonec2-subnet-id or --amazonec2-vpc-id opti
on or an AWS Account with a default vpc-id

Signed-off-by: F. Eugene Aumson <feuGeneA@github.com>
2018-09-19 16:38:38 -07:00
Hiromu OCHIAI
7768a5bdaf Use latest docker/docker revision
Signed-off-by: Hiromu OCHIAI <otiai10@gmail.com>
2018-09-19 16:35:55 -07:00
liusheng
9ec6729bad Fix wrong docker daemon process name of engine options tests
Signed-off-by: liusheng <liusheng@huawei.com>
2018-09-19 16:35:13 -07:00
Yuki Nishiwaki
6c90ba4d3d Return error of command exec in SSH NativeClient
Signed-off-by: Yuki Nishiwaki <uckey.1067@gmail.com>
2018-09-19 16:33:08 -07:00
Tianon Gravi
7a9ce45749 Update "aufs" to "overlay2" in several places
Signed-off-by: Tianon Gravi <admwiggin@gmail.com>
2018-09-19 16:28:48 -07:00
Robert Rettig
dfdca21286 change default storage driver for redhat
Signed-off-by: Robert Rettig <robert.rettig@ndgit.com>
2018-09-19 16:27:30 -07:00
cygmris
19035310d4 fix invalid ignorance of bin directory
Signed-off-by: cygmris <root@schoolpot.org>
2018-07-13 15:55:25 -04:00
Joffrey F
4f225c9543 Add PR template
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-07-13 15:50:20 -04:00
Peter Schultz
bfa0cf6750 drivers/google: Add support for non-default service account
Add the --google-service-account flag to create VMs that are not
provisioned with the default service account.

Signed-off-by: Peter Schultz <peter.schultz@classmarkets.com>
2018-07-03 09:35:00 +02:00
Joffrey F
eae38c196a Update CHANGELOG - v0.15.0
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-06-12 16:57:20 -07:00
Gerard Braad
5bc065d6eb Allow localized names for Virtual Switch
Signed-off-by: Gerard Braad <me@gbraad.nl>
2018-06-12 09:46:11 +00:00
Jason-ZW
56ab5f039b Add nonempty flag
Signed-off-by: Jason-ZW <zhenyang@rancher.com>
2018-06-11 16:00:03 +08:00
David Gageot
1e4713ba7b Merge pull request #4477 from shahiddev/master
Add support to disable hyperv dynamic memory management
2018-06-04 14:17:08 +02:00
David Gageot
635818aba6 Merge pull request #4490 from andrestc/ec2-sg-readonly
drivers/amazonec2: adds flag to prevent mutating security groups
2018-06-04 14:15:21 +02:00
David Gageot
8941c31381 Merge pull request #4491 from mshindo/fusion-driver-fix
The parentheses are needed for the shell commands to be executed properly.
2018-06-04 14:14:42 +02:00
Motonori Shindo
e515a4be57 The parentheses are needed for the shell command to be executed properly.
If the shell command looks like

  "condition1 && command1 || condition2 && command2 || command3"

then condition2 will never be checked if condition1 is true and command1
exists normally. In order for this code to run expectedly, it should look
like

  "(condition1 && command1) || (condition2 && command2) || command3"

instead.

Specifically, with the code like

  "[ ! -d /Users ]&& sudo mkdir /Users; sudo mount --bind /mnt/hgfs/Users /Users || [ -f /usr/local/bin/vmhgfs-fuse ]&& sudo /usr/local/bin/vmhgfs-fuse -o allow_other .host:/Users /Users || sudo mount -t vmhgfs -o uid=$(id -u),gid=$(id -g) .host:/Users /Users"

if both "[ ! -d /Users ]" and "sudo mkdir /Users; sudo mount --bind
/mnt/hgfs/Users /Users" are true, then the existence of a file
/usr/local/bin/vmhgfs-fuse will never be examined and always be executed
even if the file doesn't exist. Consequently, it always fails.

Signed-off-by: Motonori Shindo <motonori@shin.do>
2018-05-25 01:14:47 +09:00
André Carvalho
c6a7c452a5 drivers/amazonec2: adds flag to prevent mutating security groups
Signed-off-by: André Carvalho <asantostc@gmail.com>
2018-05-23 14:34:34 -03:00