Vincent Demeester
60e48bd6bd
Use spf13/cobra for docker rmi
...
Moves image command rmi to `api/client/image/remove.go` and use cobra :)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-06-05 22:40:35 +02:00
Vincent Demeester
b259558336
Merge pull request #23276 from yongtang/23211-spf13-cobra-stop
...
Use spf13/cobra for docker stop
2016-06-05 22:37:15 +02:00
Brian Goff
3f970819bb
Merge pull request #23063 from yongtang/22961-aws-sdk-go
...
Update aws-sdk-go to v1.1.30
2016-06-05 16:01:52 -04:00
Brian Goff
282067e83a
Merge pull request #23272 from thaJeztah/update-syntax
...
Update Dockerfile highlight/syntax definitions
2016-06-05 15:38:16 -04:00
Sebastiaan van Stijn
c764234c3b
Merge pull request #23267 from vdemeester/migrate-export-to-cobra
...
Use spf13/cobra for docker export
2016-06-05 20:05:51 +02:00
Sebastiaan van Stijn
3cec900271
Merge pull request #23273 from vdemeester/deprecated-import-3-args
...
Deprecated the old 3-args form of `docker import`
2016-06-05 20:02:33 +02:00
Yong Tang
63d66d2796
Use spf13/cobra for docker stop
...
This fix is part of the effort to convert commands to spf13/cobra #23211 .
Thif fix coverted command `docker stop` to use spf13/cobra
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-06-05 10:25:21 -07:00
Brian Goff
506e8eda40
Merge pull request #23258 from allencloud/return-err-when-volume-list-fails
...
return err when volume list fails
2016-06-05 13:24:25 -04:00
Vincent Demeester
372063ce1b
Deprecated the old 3-args form of `docker import`
...
It's been deprecated since November 2013 and v0.6.7. Removing the cli
side of it.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-06-05 18:07:34 +02:00
Brian Goff
a15bc261de
Merge pull request #23271 from albers/completion-events-detach
...
bash completion for detach events
2016-06-05 11:53:01 -04:00
Sebastiaan van Stijn
4cb71f8082
Update Dockerfile highlight definitions
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-06-05 17:45:21 +02:00
Vincent Demeester
df1dd1322d
Merge pull request #22489 from Microsoft/jjh/shell
...
Builder shell configuration
2016-06-05 17:43:12 +02:00
Harald Albers
9c9cbd2c0f
bash completion for detach events
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-06-05 08:41:58 -07:00
Vincent Demeester
b25e64183c
Migrate export command to cobra
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-06-05 16:42:19 +02:00
Vincent Demeester
0f13b69fe2
Merge pull request #22988 from calavera/use_client_credentials_library
...
Move native credentials lookup to the client library.
2016-06-05 16:27:15 +02:00
David Calavera
ff3e187cc7
Use docker-credential-helpers client to talk with native creds stores.
...
Signed-off-by: David Calavera <david.calavera@gmail.com>
2016-06-04 10:08:22 -07:00
David Calavera
feab8db60d
Vendor docker-credential-helpers v0.3.0
...
Fix a bug in the vendor helpers that took packages
that started with github.com/docker/docker like if
they were from within the project.
Signed-off-by: David Calavera <david.calavera@gmail.com>
2016-06-04 10:06:07 -07:00
Sebastiaan van Stijn
6b4a46f282
Merge pull request #23253 from vdemeester/carry-pr-23159
...
Carry #23159 : Use spf13/cobra for `docker run` and `docker create`
2016-06-04 18:55:23 +02:00
Sebastiaan van Stijn
e556d6b667
Merge pull request #23257 from vdemeester/cobra-see-help
...
Cobra - display "See 'docker cmd --help'." in error cases
2016-06-04 18:37:14 +02:00
allencloud
ed2d300ed0
return err when volume list fails
...
Signed-off-by: allencloud <allen.sun@daocloud.io>
2016-06-04 23:24:14 +08:00
Vincent Demeester
6180c5c12e
Display "See 'docker cmd --help'." in error cases
...
This brings back this message in case missing arguments.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-06-04 16:19:54 +02:00
Vincent Demeester
e975dadaa0
Merge pull request #23254 from thaJeztah/prepare-for-go-1.7
...
Bump engine-api 772250a752e34cacaeef7c92b8e0ddf43450b629, prepare for go 1.7
2016-06-04 16:07:27 +02:00
Sebastiaan van Stijn
496adadcec
Update TestHttpsInfoRogueCert for Go 1.7
...
The error message changed from
remote error: bad certificate
To
remote error: tls: bad certificate
In Go 1.7, so just checking for "bad certificate"
to make this test work on both Go 1.6 and 1.7
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-06-04 14:17:24 +02:00
Sebastiaan van Stijn
ed87071632
bump engine-api to 772250a752e34cacaeef7c92b8e0ddf43450b629
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-06-04 14:16:36 +02:00
Sebastiaan van Stijn
843720257b
Merge pull request #23248 from Microsoft/jjh/flakeytest
...
Windows: Turn off TestBuildDockerignoreComment
2016-06-04 14:07:52 +02:00
Daniel Nephin
5ab2434225
Convert 'docker create' to use cobra and pflag
...
Return the correct status code on flag parsins errors.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-06-04 13:57:30 +02:00
Daniel Nephin
a77f2450c7
Convert 'docker run' to a cobra command and to use pflags
...
Move container options into a struct so that tests should pass.
Remove unused FlagSet arg from Parse
Disable interspersed args on docker run
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-06-04 13:55:35 +02:00
Vincent Demeester
3db23a4eaf
Merge pull request #23232 from thaJeztah/update-default-retries
...
Healthcheck: set default retries to 3
2016-06-04 07:50:04 +02:00
Brian Goff
521f79bf0e
Merge pull request #23241 from vdemeester/migrate-search-to-cobra
...
Use spf13/cobra for docker search
2016-06-03 22:07:08 -04:00
Brian Goff
ad8d0c9a8b
Merge pull request #23244 from LK4D4/no_interface
...
attach: replace interface with simple type
2016-06-03 22:03:11 -04:00
Alexander Morozov
3accde6dee
attach: replace interface with simple type
...
Also add docs to detach events
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2016-06-03 16:40:43 -07:00
Antonio Murdaca
e6637f8d9e
Merge pull request #23124 from kencochrane/fix_redhat_install_script
...
Fix issues with get.docker.com install script with redhat
2016-06-04 00:04:09 +02:00
Sebastiaan van Stijn
da703f026e
Merge pull request #23251 from SvenDowideit/more-validation-fixes
...
docs validation fixes
2016-06-03 23:46:21 +02:00
Sven Dowideit
0cddc783cf
docs validation fixes
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-06-03 21:43:45 +00:00
John Howard
b18ae8c9cc
Builder default shell
...
Signed-off-by: John Howard <jhoward@microsoft.com>
2016-06-03 13:54:31 -07:00
Sebastiaan van Stijn
2d40e36af8
Merge pull request #23234 from yongtang/23221-utf8-bom
...
Skip UTF-8 BOM bytes from Dockerfile and .dockerignore if exist
2016-06-03 22:28:48 +02:00
John Howard
d75aaa2ca0
Windows: Turn off TestBuildDockerignoreComment
...
Signed-off-by: John Howard <jhoward@microsoft.com>
2016-06-03 13:23:35 -07:00
Vincent Demeester
a11ef10631
Use spf13/cobra for docker search
...
- Move image command search to `api/client/image/search.go`
- Use cobra :)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-06-03 19:50:01 +02:00
Alexander Morozov
c80a2f2937
Merge pull request #22898 from WeiZhang555/add-detach-event
...
Add detach event
2016-06-03 09:49:48 -07:00
Vincent Demeester
5429f4ef61
Merge pull request #23239 from albers/completion-run-healthcheck
...
bash completion for `docker run` healthcheck options
2016-06-03 18:17:15 +02:00
Brian Goff
b0a949e3c9
Merge pull request #23238 from albers/completion-search--limit
...
bash completion for `docker search --limit`
2016-06-03 12:13:27 -04:00
Harald Albers
f738e6a732
bash completion for `docker run` healthcheck options
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-06-03 17:04:04 +02:00
Harald Albers
4b5ccd7342
bash completion for `docker search --limit`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-06-03 16:32:37 +02:00
Yong Tang
ea86320fcc
Skip UTF-8 BOM bytes from Dockerignore if exist
...
This fix tries to address issues related to #23221 where Dockerignore
may consists of UTF-8 BOM. This likely happens when Notepad
tries to save a file as UTF-8 in Windows.
This fix skips the UTF-8 BOM bytes from the beginning of the
Dockerignore if exists.
Additional tests has been added to cover the changes in this fix.
This fix is related to #23221 (UTF-8 BOM in Dockerfile).
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-06-03 07:26:36 -07:00
Yong Tang
678c80f925
Skip UTF-8 BOM bytes from Dockerfile if exists
...
This fix tries to address issues in #23221 where Dockerfile
may consists of UTF-8 BOM. This likely happens when Notepad
tries to save a file as UTF-8 in Windows.
This fix skips the UTF-8 BOM bytes from the beginning of the
Dockerfile if exists.
Additional tests has been added to cover the changes in this
fix.
This fix fixes #23221 .
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-06-03 06:16:50 -07:00
Vincent Demeester
147c8b7495
Merge pull request #23222 from yongtang/06022016-add-missing-links-in-deprecated-docs
...
Add missing links in deprecated.md
2016-06-03 15:16:11 +02:00
Sebastiaan van Stijn
726ef47d5c
Merge pull request #23215 from BlackYoup/pkg-config
...
make.sh: use PKG_CONFIG environment variable if it exists
2016-06-03 15:04:37 +02:00
Sebastiaan van Stijn
020a86b3d9
Merge pull request #23107 from yongtang/23055-docker-search-limit
...
Add `--limit` option to `docker search`
2016-06-03 14:25:42 +02:00
Vincent Demeester
9c1278b279
Merge pull request #23111 from yongtang/20083-dockerignore-comment
...
Add support for comments in .dockerignore
2016-06-03 14:23:09 +02:00
Sebastiaan van Stijn
f1755b2560
Merge pull request #23227 from yongtang/06032016-engine-api
...
Vendor engine-api to 5d8739372315f8147ceb7bcc53576893ff96ffc6
2016-06-03 14:15:31 +02:00