Eric Bloch
96c904a51e
Add tcsh support to --shell
...
Fixes #3404
Signed-off-by: Eric Bloch <eric.bloch@gmail.com>
2016-05-04 20:29:07 -07:00
Nicolas De Loof
8ed715fd4f
Fixes #2302 Possibility to create master with manager, but without agent
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2016-04-28 20:16:56 +02:00
Nicolas De Loof
ab1ca913ad
Introduce —swarm-join-opt to pass options to agent nodes
...
Fixes #3285
Fix regression introduced by PR #3287
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2016-04-28 09:40:31 +02:00
John Sirois
5f802ce66c
Add a test for create command flag handling.
...
This complements the fix in 705865fa by adding a test for unset flags
with defaults as well as other combinations of set and unset flags.
Signed-off-by: John Sirois <john.sirois@gmail.com>
2016-03-30 11:31:56 -06:00
John Sirois
705865fa70
Fixup create command flag application.
...
Previously StringSlice flag defaults were not respected. These use
special handling and that handling did not take account of default
values, always over-writing them. Expand the CommandLine interface to
take advantage of the underlying codegansta/cli.Context IsSet method and
guard default string slice overwrites with an IsSet test.
Signed-off-by: John Sirois <john.sirois@gmail.com>
2016-03-29 11:53:22 -06:00
Andre Caron
b85531506a
Silences docker-machine env command on Windows.
...
Signed-off-by: Andre Caron <andre.l.caron@gmail.com>
2016-03-25 09:03:53 -04:00
David Gageot
fa986949e0
Merge pull request #3120 from daehyeok/Driver_env
...
DRIVER environment variable
2016-03-04 07:29:26 +01:00
Daehyeok Mun
aa461f079d
DRIVER environment variable
...
Signed-off-by: Daehyeok Mun <daehyeok@gmail.com>
2016-03-02 17:44:15 -07:00
David Gageot
e3ff59bd92
Export flags for consumers of libmachine
...
Signed-off-by: David Gageot <david@gageot.net>
2016-03-02 22:27:59 +01:00
Patrik Erdes
e7c58ea7ae
Fix #3015
...
Signed-off-by: Patrik Erdes <patrik@erdes.se>
2016-02-18 12:28:22 +01:00
Jean-Laurent de Morlhon
1eaf5a464f
Merge pull request #3020 from mssola/swarm-experimental
...
Added a flag to enable experimental Swarm features
2016-02-13 14:10:44 -08:00
Miquel Sabaté Solà
7e201c4005
Added a flag to enable experimental Swarm features
...
The `create` command now has the `--swarm-experimental` boolean flag, that
tells the Swarm provisioner to enable experimental features in Swarm.
Fixes #2861
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
2016-02-13 12:21:20 +01:00
David Gageot
7a6ca308c4
FIX #3016 Add timeout to active command
...
Signed-off-by: David Gageot <david@gageot.net>
2016-02-11 13:55:52 -08:00
David Gageot
8345672b18
FIX #3040 Slow test
...
Signed-off-by: David Gageot <david@gageot.net>
2016-02-11 13:31:36 -08:00
David Kirk
090c575c0d
Add env var support.
...
Signed-off-by: David Kirk <davemkirk@gmail.com>
2016-02-10 21:25:28 -06:00
David Gageot
834b9b4161
FIX #2982 Fix auto detection
...
Signed-off-by: David Gageot <david@gageot.net>
2016-02-03 08:23:12 -08:00
Nathan LeClaire
d27ccb0f6e
Exit with code 3 if error is during pre-create check
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-02-02 16:08:57 -08:00
Nathan LeClaire
0118532393
Reset default shell for env to bash
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-01-28 12:11:22 -08:00
David Gageot
b6be1b79bc
Merge pull request #2954 from jeanlaurent/engine-url
...
Fix #2029 - local drivers dont run with engine-install-url
2016-01-28 18:26:01 +01:00
Jean-Laurent de Morlhon
8eb22b411b
Fix #2029 - local drivers dont run with engine-install-url
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-28 18:05:58 +01:00
David Gageot
794cf4cf4d
Make go vet ./... happy
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-28 11:15:12 +01:00
Carlos Derich
0a1eb5d79f
fix ls command with wrong header values
...
fixes #2937
Signed-off-by: Carlos Derich <d.erich@hotmail.com>
2016-01-27 01:10:55 -03:00
Nathan LeClaire
e9294b4fcf
Add RESPONSE time to available columns in ls
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
Signed-off-by: David Gageot <david@gageot.net>
2016-01-26 11:34:14 +01:00
Jean-Laurent de Morlhon
9de45af808
Fix #2860
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-25 16:17:44 +01:00
David Gageot
8977d29bae
Merge pull request #2902 from jeanlaurent/ls-single-line
...
Fix #2888 - Multi-line errors in ls mess with tab writing
2016-01-25 10:04:21 +01:00
Jean-Laurent de Morlhon
5b2c52c409
Fix #2888 - Multi-line errors in ls mess with tab writing
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-25 09:49:05 +01:00
Patrik Erdes
1a8ec8c722
Fix #2905 , a Swarm host will now show as active by the active command when using the env --swarm option
...
Signed-off-by: Patrik Erdes <patrik@erdes.se>
2016-01-22 15:18:44 +01:00
Nathan LeClaire
8ea5300b5a
Add test for 'docker-machine inspect'
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-01-18 14:30:11 -08:00
David Gageot
d518e171b9
Fix bugsnag reports for create
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-18 11:42:21 +01:00
David Gageot
19ec3e6d50
Fix the build
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-18 11:06:03 +01:00
David Gageot
501b8666ce
Merge pull request #2121 from nathanleclaire/provision_cmd
...
Add docker-machine provision command
2016-01-18 08:53:15 +01:00
Nathan LeClaire
5000139c8e
Add ability to imply 'default' VM in commands
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-01-15 17:10:08 -08:00
Nathan LeClaire
aa54a5f272
Add additional tests for SSH
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-01-14 17:27:41 -08:00
Nathan LeClaire
01c7556e3a
Add docker-machine provision command
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-01-12 11:52:36 -08:00
Jean-Laurent de Morlhon
45a8f5e7a6
Returns exit code 3 on pre-create check
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-12 11:04:39 +01:00
Jean-Laurent de Morlhon
f10584ec85
Remove remaining log.Fatal
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-07 12:32:55 +01:00
David Gageot
f96595d7d0
Fix Bugnag Report not being sent
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-07 12:09:00 +01:00
Jean-Laurent de Morlhon
9cdf13b9ab
Fix double error logs in docker-machine rm
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-07 11:33:50 +01:00
David Gageot
fc025e1984
FIX #2746 Improve shell detection in bugsnag reports
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-06 16:57:33 +01:00
David Gageot
b36fcbce2c
FIX #2723 invalid path to docker-machine.exe on Windows/bash
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-06 11:01:10 +01:00
David Gageot
7442ccc585
Merge pull request #2738 from jeanlaurent/better-remove
...
Enhance remove
2016-01-06 09:39:40 +01:00
David Gageot
f5293e10e2
Crash reporting shouldn't be static
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-05 18:16:11 +01:00
Jean-Laurent de Morlhon
607bac5ce3
Fix #2671
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-05 15:52:18 +01:00
David Gageot
cd9301e252
Merge pull request #2730 from dgageot/close-api
...
Close api
2016-01-05 15:50:44 +01:00
Nathan LeClaire
e0570c0c2b
Merge pull request #2702 from dgageot/ls-format
...
Add --format, -f flag to ls command
2016-01-04 14:22:43 -08:00
David Gageot
d771d65dc4
Merge pull request #2734 from dgageot/shell-detect-package
...
Extract shell detection to its own package
2016-01-04 16:14:21 +01:00
David Gageot
b282f5abe1
Merge pull request #2729 from dgageot/simpler-code
...
Simpler code
2016-01-04 16:00:28 +01:00
David Gageot
5ff7ab91fb
Extract shell detection to its own package
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-04 15:58:30 +01:00
David Gageot
263f8c5cdd
Remove duplication
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-04 14:59:25 +01:00
David Gageot
00eee7db1d
Simplify Api
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-04 14:59:25 +01:00