Evan Hazlett
9e9c0f1751
redhat: update for generic provisioner
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com >
2015-05-21 13:44:39 -04:00
Evan Hazlett
18cfe58a00
redhat: updated docs to explain base operating systems
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com >
2015-05-21 13:44:39 -04:00
Evan Hazlett
da7ac61be7
redhat: add redhat provisioning
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com >
2015-05-21 13:44:37 -04:00
Evan Hazlett
26432b771f
ssh: allocate pty for sudo over ssh for those that have requiretty
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com >
2015-05-21 13:43:51 -04:00
Aanand Prasad
051f56a1e6
Fix bugs with one-off legacy containers
...
- One-off containers were included in the warning log messages, which can
make for unreadable output when there are lots (as there often are).
- Compose was attempting to recreate one-off containers as normal
containers when migrating.
Fixed by implementing the exact naming logic from before we used labels.
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com >
2015-05-21 18:21:49 +01:00
Aanand Prasad
b5ce23885b
Split out fetching of legacy names so we can test it
...
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com >
2015-05-21 18:21:49 +01:00
Aanand Prasad
0fdb8bf814
Refactor migration logic
...
- Rename `migration` module to `legacy` to make its legacy-ness explicit
- Move `check_for_legacy_containers` into `legacy` module
- Fix migration test so it can be run in isolation
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com >
2015-05-21 18:21:09 +01:00
Aanand Prasad
e538923545
Merge pull request #1442 from aanand/dashes-in-migration-command
...
Rename migrate_to_labels -> migrate-to-labels
2015-05-21 18:19:30 +01:00
Daniel Nephin
c0f65a9f4c
Merge pull request #1445 from aanand/replace-sleep-with-top
...
Use 'top' instead of 'sleep' as a dummy command
2015-05-21 11:51:23 -05:00
David Calavera
00e78a18ba
Merge pull request #13380 from coolljt0725/add_missing_check_return_err_function
...
Add missing return error check for container.WriteHostConfig() in container_linux.go
2015-05-21 09:32:52 -07:00
David Calavera
0ac5e8a170
Merge pull request #13383 from duglin/CreateRMTest
...
Add a 'docker create' + 'docker rm' testcase
2015-05-21 09:32:32 -07:00
Aanand Prasad
b0cb31c186
Use 'top' instead of 'sleep' as a dummy command
...
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com >
2015-05-21 16:24:29 +01:00
Evan Hazlett
f82032b28d
remove provider
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com >
2015-05-21 10:41:03 -04:00
Doug Davis
012e588a74
Add a 'docker create' + 'docker rm' testcase
...
Per @thaJeztah's comment here: https://github.com/docker/docker/pull/13367#issuecomment-104286651
I couldn't find an existing test that covered this.
Signed-off-by: Doug Davis <dug@us.ibm.com >
2015-05-21 07:30:51 -07:00
Evan Hazlett
91c618fd06
Merge pull request #1174 from nathanleclaire/ssh_backends
...
Move to using SSH shellout by default, and Go native impl as a backup
2015-05-21 10:22:45 -04:00
Aanand Prasad
3080244c0b
Rename migrate_to_labels -> migrate-to-labels
...
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com >
2015-05-21 14:54:41 +01:00
Vincent Bernat
d05a889c96
exoscale: simplify if/err pattern
...
Compact the if/err forms that can be compacted.
Signed-off-by: Vincent Bernat <Vincent.Bernat@exoscale.ch >
2015-05-21 14:34:42 +02:00
Vincent Bernat
b772e66394
exoscale: destroy the SSH keypair when removing the machine
...
Otherwise, when recreating a machine with the same name, we would get an
error about this SSH keypair already existing.
To avoid any confusion, let's say that machine will handle all keypairs
and the user cannot provide its own. Therefore, move the keypairs into
their own "namespace" and remove the option to specify a keypair.
Signed-off-by: Vincent Bernat <Vincent.Bernat@exoscale.ch >
2015-05-21 14:34:42 +02:00
Vincent Bernat
b35ad0d322
godep/exoscale: update egoscale
...
Signed-off-by: Vincent Bernat <Vincent.Bernat@exoscale.ch >
2015-05-21 14:34:42 +02:00
Andrea Luzzardi
10bbbde6d0
Merge pull request #824 from mavenugo/master
...
Adding export Init method for the exported discovery components
2015-05-21 02:42:27 -07:00
Aanand Prasad
b183a66db1
Merge pull request #1437 from dnephin/fix_project_containers
...
Project.containers with service_names
2015-05-21 10:42:08 +01:00
Vincent Bernat
1f4502e3e0
docs/exoscale: require port 22 in security group too
...
Signed-off-by: Vincent Bernat <Vincent.Bernat@exoscale.ch >
2015-05-21 11:05:55 +02:00
Lei Jitang
a9bc05a2f8
Add missing return error check
...
Signed-off-by: Lei Jitang <leijitang@huawei.com >
2015-05-21 17:03:43 +08:00
Alexandre Beslic
ff8f1b5fa8
Implement locking mechanisms with Etcd
...
Signed-off-by: Alexandre Beslic <abronan@docker.com >
2015-05-21 01:15:14 -07:00
Stephen J Day
eee6cad2cf
Remove digest package's dependency on external sha implementation
...
The change relies on a refactor of the upstream resumable sha256/sha512 package
that opts to register implementations with the standard library. This allows
the resumable support to be detected where it matters, avoiding unnecessary and
complex code. It also ensures that consumers of the digest package don't need
to depend on the forked sha implementations.
We also get an optimization with this change. If the size of data written to a
digester is the same as the file size, we check to see if the digest has been
verified. This works if the blob is written and committed in a single request.
Signed-off-by: Stephen J Day <stephen.day@docker.com >
2015-05-20 23:44:08 -07:00
Mike Fiedler
67a5018999
Get machine state before looking up URL in vmwarefusion
...
- Add a call to GetState() in GetIP() to bail if the machine is stopped,
similar to how it is done in the virtualbox driver.
- Add tests for `url` and `env` commands.
Fixes #1168
Signed-off-by: Mike Fiedler <miketheman@gmail.com >
2015-05-20 23:40:07 -04:00
Mike Fiedler
cd049cb4b9
Convert vmwarefusion bats tests back to machine
...
In #615 , the helper function `machine()` was created and used within the
vmwarefusion test suite (amongst others) to wrap a platform-specfic
binary during the test suite.
In #1034 , it appears that this name was changed to the normal
docker-machine binary, which can incoke the system-installed one, not
the recently compiled one, potentially testing the incorrect binary.
See:
- https://github.com/docker/machine/pull/615#discussion_r25643553
- https://github.com/docker/machine/pull/1034/files#diff-62c88a2fede921556dbdeead731596b2R14
Signed-off-by: Mike Fiedler <miketheman@gmail.com >
2015-05-20 23:40:01 -04:00
Mike Fiedler
0282a7d544
Add tests for url/env commands when stopped w/virtualbox
...
Refs #1168
Signed-off-by: Mike Fiedler <miketheman@gmail.com >
2015-05-20 23:39:52 -04:00
Madhu Venugopal
23ecada9d7
Adding export Init method for the exported discovery components
...
Since Swarm discovery is used by libnetwork without the swarm main(), it
is forced to use annonymous import in order to force-trigger the
unexported init() methods. Using annonymous import is highly discouraged
in a Non-Main and Non-Test packages.
Introducing exported Init() methods on these files so that libnetwork
can use Discovery as a library without having a main package.
Signed-off-by: Madhu Venugopal <madhu@docker.com >
2015-05-20 20:18:13 -07:00
Jeffrey Morgan
d80983fb4e
wip
2015-05-20 20:09:14 -07:00
Jan Broer
2476bf2916
bugfix: logger.error was writing to stdout
...
Signed-off-by: Jan Broer <janeczku@yahoo.de >
2015-05-21 05:09:12 +02:00
Stephen J Day
87ff947038
Decouple redis dependency from blob descriptor cache
...
Ensure that clients can use the blob descriptor cache provider without needing
the redis package.
Signed-off-by: Stephen J Day <stephen.day@docker.com >
2015-05-20 18:58:10 -07:00
Michael Chiang
7366ecde20
Updating to be more complete - Xcode
2015-05-20 18:51:04 -07:00
zchee
4fa7c47684
Add vmwarefusion and exoscale
...
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com >
2015-05-21 10:44:43 +09:00
zchee
c615c2f4dd
Update docs for exoscale
...
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com >
2015-05-21 10:44:39 +09:00
zchee
644a501305
Update docs for VMware vSphere
...
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com >
2015-05-21 10:44:34 +09:00
zchee
e6a6762b76
Update docs for VMware vCloud Air
...
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com >
2015-05-21 10:44:30 +09:00
zchee
7abdfab3e0
Update docs for VMware Fusion
...
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com >
2015-05-21 10:44:24 +09:00
zchee
21974c6220
Update docs for Oracle VirtualBox
...
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com >
2015-05-21 10:44:19 +09:00
zchee
8f77336231
Update docs for Rackspace
...
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com >
2015-05-21 10:44:11 +09:00
zchee
42268606e8
Update docs for Openstack
...
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com >
2015-05-21 10:44:07 +09:00
zchee
f7a97fe77a
Update docs for Microsoft Hyper-V driver
...
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com >
2015-05-21 10:44:03 +09:00
zchee
f0e84025cb
Update docs for Microsoft Azure driver
...
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com >
2015-05-21 10:43:58 +09:00
zchee
5d47f4617a
Update docs for IBM Softlayer driver
...
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com >
2015-05-21 10:43:54 +09:00
zchee
4c97a4ea87
Update docs for Google Compute Engine driver
...
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com >
2015-05-21 10:43:50 +09:00
Koichi Shiraishi
c35135f399
Update docs for Generic driver
...
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com >
2015-05-21 10:43:46 +09:00
Koichi Shiraishi
bb6cb6aed0
Update docs for Digital Ocean driver
...
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com >
2015-05-21 10:43:41 +09:00
zchee
2e66cca535
Update docs for Amazon EC2 driver
...
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com >
2015-05-21 10:43:26 +09:00
Jessie Frazelle
ef0a145593
Merge pull request #13310 from coolljt0725/make_ps_size_show_virtual_size_work
...
Make docker ps --size show virtual size really work
2015-05-20 18:32:11 -07:00
Derek McGowan
07ff029506
Merge pull request #543 from tiborvass/fix-typo-in-client
...
client: fix a typo preventing compilation
2015-05-20 18:13:17 -07:00