Brian Goff
0c8d401cd8
Merge pull request #335 from coolljt0725/add_env
...
Add DOCKER_BUILD_ARGS to support build with proxy
2017-07-14 11:41:44 -04:00
Lei Jitang
7d8681fadb
Add DOCKER_BUILD_ARGS to support build with proxy
...
Signed-off-by: Lei Jitang <leijitang@huawei.com>
2017-07-14 05:20:18 -04:00
Jean-Pierre Huynh
d7748e1b01
Fix inconsistencies
...
Signed-off-by: Jean-Pierre Huynh <jean-pierre.huynh@ounet.fr>
2017-07-14 09:24:46 +01:00
Harald Albers
b8710ccef3
Add bash completion for `--storage-opt dm.libdm_log_level`
...
This adds bash completion for https://github.com/moby/moby/pull/33845 .
Signed-off-by: Harald Albers <github@albersweb.de>
2017-07-14 10:23:15 +02:00
Sebastiaan van Stijn
de4c546b7e
Merge pull request #324 from cyphar/libdm-debug-flag-docs
...
docs: add documentation for dm.libdm_log_level
2017-07-14 00:58:38 -07:00
Aleksa Sarai
c7710819a5
docs: add documentation for dm.libdm_log_level
...
This is a new option added specifically to allow for debugging of bugs
in Docker's storage drivers or libdm itself.
Signed-off-by: Aleksa Sarai <asarai@suse.de>
2017-07-14 16:52:33 +10:00
yuexiao-wang
bd64ad25fb
Fix filters displaying for docker search
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2017-07-14 08:56:20 +08:00
Jean-Pierre Huynh
ffe8509663
Fix code location when mounting to docker-cli-shell-validate
...
Signed-off-by: Jean-Pierre Huynh <jean-pierre.huynh@ounet.fr>
2017-07-13 22:24:08 +01:00
Jean-Pierre Huynh
501cf0e6d1
Update dockerfile path for CicleCI build
...
Signed-off-by: Jean-Pierre Huynh <jean-pierre.huynh@ounet.fr>
2017-07-13 22:24:08 +01:00
Jean-Pierre Huynh
2e7d24cae8
Reword to remove ambiguity with go validate
...
Signed-off-by: Jean-Pierre Huynh <jean-pierre.huynh@ounet.fr>
2017-07-13 22:24:08 +01:00
Jean-Pierre Huynh
b2fc35aefa
Add shellcheck for bash completion
...
Signed-off-by: Jean-Pierre Huynh <jean-pierre.huynh@ounet.fr>
2017-07-13 22:24:08 +01:00
Boaz Shuster
1333b49194
Sort swarm stacks and nodes using natural sorting
...
This commit changes the order stacks and nodes are displayed.
For example, running "docker stack ls" is expected to
display the following list:
NAME SERVICES
service-1 1
service-2 1
service-10 1
However, currently this is what is printed:
NAME SERVICES
service-1 1
service-10 1
service-2 1
To fix this, "docker stack ls" and "docker node ls" are using
natural sorting to make it more human readable.
Signed-off-by: Boaz Shuster <ripcurld.github@gmail.com>
2017-07-13 14:33:02 +03:00
Vincent Demeester
e3746d388e
Merge pull request #206 from dnephin/why-cross-so-slow
...
Faster CI
2017-07-13 09:36:18 +02:00
Sebastiaan van Stijn
ae38f202bb
Merge pull request #271 from tych0/password-stdin
...
Password stdin
2017-07-12 17:08:11 -07:00
Sebastiaan van Stijn
dcd788b100
Merge pull request #328 from cyli/de-duplicate-CAcert-flag
...
Fix warning in docker CLI when `swarm ca` is called with flags other than `--rotate`
2017-07-12 16:45:50 -07:00
Ying Li
4615c92f66
Fix warning in docker CLI when `swarm ca --ca-cert`, etc. flags are passed,
...
and add a test.
Signed-off-by: Ying Li <ying.li@docker.com>
2017-07-12 14:56:28 -07:00
Sebastiaan van Stijn
6d74d8c13c
Merge pull request #329 from dnephin/fix-linter-master
...
Update gometalinter
2017-07-12 13:21:24 -07:00
Daniel Nephin
7a8f75a25a
Update gometalinter
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-07-12 15:21:41 -04:00
Sebastiaan van Stijn
25d9594f0b
Merge pull request #326 from dnephin/fix-merged-pr-conflicts
...
Fix test and lint failures on master
2017-07-12 09:34:14 -07:00
Daniel Nephin
f27934376d
Fix test and lint failures
...
Split test cases.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-07-12 11:37:35 -04:00
Vincent Demeester
bb795aa7af
Merge pull request #323 from dnephin/add-code-owners
...
Add a new CODEOWNERS file, and add a few owners
2017-07-12 13:28:24 +02:00
Vincent Demeester
87345ed117
Merge pull request #277 from thaJeztah/dont-remove-what-isnt-there
...
Don't attempt to remove unsupported resources on older daemon
2017-07-12 10:43:54 +02:00
Vincent Demeester
fa7687a362
Merge pull request #299 from dnephin/less-verbose-fake-cli
...
Less verbose fake cli
2017-07-12 09:56:43 +02:00
Kenfe-Mickaël Laventure
8b451c598f
Merge pull request #322 from dnephin/pin-tools
...
Pin all tools used in the Dockerfiles
2017-07-12 08:58:33 +02:00
Shukui Yang
a996206ced
Vendor, update moby to d58ffa0364c04d03a8f25704d7f0489ee6cd9634
...
Fix docker cp dir with hard link, refer to https://github.com/moby/moby/pull/3 .
Signed-off-by: Shukui Yang <yangshukui@huawei.com>
2017-07-12 01:28:55 +00:00
Daniel Nephin
42a3800783
Update some tests to remove unnecessary buffers.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-07-11 17:52:43 -04:00
Daniel Nephin
91a5efd882
Add a new CODEOWNERS file, and add a few owners.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-07-11 17:40:25 -04:00
Daniel Nephin
3da0cbfdd1
Remove unnecessary use of SetConfigfile
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-07-11 14:49:30 -04:00
Daniel Nephin
69b142b52a
Update FakeCli to remove duplication in tests.
...
Use byte buffers by default, since that is what is done most of the time.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-07-11 14:49:30 -04:00
Daniel Nephin
102a8f0c9d
Pin all tools used in the Dockerfiles
...
Also update gometalinter to use the official version. The update
found some new gosimple errors, which are fixed.
Also update the filewatcher script for the latest version of filewatcher.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-07-11 14:23:27 -04:00
Tycho Andersen
7d18477bc2
login: add a --password-stdin argument
...
This:
* conflicts with --password (naturally)
* conflicts with the absence of --username (both can't be grabbed by the
stdin)
* strips a trailing newline off the password if it exists
Signed-off-by: Tycho Andersen <tycho@tycho.ws>
2017-07-11 12:16:29 -06:00
Sebastiaan van Stijn
2429f15672
Don't attempt to remove unsupported resources on older daemon
...
When running `docker stack rm <some stack>` against an older daemon,
a warning was printed for "configs" being ignored;
WARNING: ignoring "configs" (requires API version 1.30, but the Docker daemon API version is 1.26)
Given that an old daemon cannot _have_ configs, there should not be
a need to warn, or _attempt_ to remove these resources.
This patch removes the warning, and skips fetching (and removing)
configs.
A check if _secrets_ are supported by the daemon is also added,
given that this would result in an error when attempted against
an older (pre 1.13) daemon.
There is one situation where this could lead to secrets or
configs being left behind; if the client is connecting to a
daemon that _does_ support secrets, configs, but the API version
is overridden using `DOCKER_API_VERSION`, no warning is printed,
and secrets and configs are not attempted to be removed.
Given that `DOCKER_API_VERSION` is regarded a feature for
debugging / "power users", it should be ok to ignore this.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-07-11 10:29:03 -07:00
Victor Vieux
6908e58f0f
Merge pull request #312 from thaJeztah/remove-unused-prune-functions
...
Remove unused prune functions
2017-07-11 12:15:44 +02:00
Victor Vieux
b7b680590b
Merge pull request #318 from thaJeztah/pin-vndr
...
pin vndr to 9909bb2b8a0b7ea464527b376dc50389c90df587
2017-07-11 12:14:59 +02:00
Victor Vieux
251eafd637
Merge pull request #321 from albers/remove-completion-service-update--network
...
Remove bash completion for `service update --network`
2017-07-11 12:14:27 +02:00
Harald Albers
e7e77b5e65
Remove bash completion for `service update --network`
...
The `--network` option is only available for `docker service create`.
Signed-off-by: Harald Albers <github@albersweb.de>
2017-07-11 11:20:18 +02:00
Sebastiaan van Stijn
008785f5b5
pin vndr to 9909bb2b8a0b7ea464527b376dc50389c90df587
...
This make updating vndr a deliberate action, and
prevents updates to vndr from making the vendor
validation fail in CI.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-07-10 14:31:57 -07:00
Sebastiaan van Stijn
d8a2972cb1
Remove unused prune functions
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-07-10 13:27:19 -07:00
Sebastiaan van Stijn
a765218f19
Merge pull request #316 from thaJeztah/revendor-dependencies
...
Revendor dependencies
2017-07-10 13:23:17 -07:00
Sebastiaan van Stijn
3e3c9d69d8
Revendor dependencies
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-07-10 10:56:42 -07:00
Vincent Demeester
af6c0896f5
Merge pull request #298 from dnephin/fix-stack-out-stream
...
Fix stack output stream
2017-07-10 09:23:23 +02:00
Sebastiaan van Stijn
7ae9bc141c
Merge pull request #259 from aaronlehmann/service-progress-surface-error
...
progress: Show task error in place of progress bar
2017-07-09 00:04:38 -07:00
Sebastiaan van Stijn
c99530b1d2
Merge pull request #270 from tych0/warn-only-about-password-on-cli
...
login: print a big warning when using --password
2017-07-08 16:37:40 -07:00
Aaron Lehmann
534c3d285b
Merge pull request #308 from ProgVal/patch-1
...
Fix typo (proceed -> precede)
2017-07-07 13:45:00 -07:00
Valentin Lorentz
4f3a8aecad
Fix typo (proceed -> precede)
...
Signed-off-by: Valentin Lorentz <progval+git@progval.net>
2017-07-07 13:17:15 +02:00
Harald Albers
d585e554d5
Refactor alias delegation in bash completion for `secret rm|remove`
...
The completion logic should be implemented in the documented subcommands
(ls, rm) and delegated to from the aliases (list, remove).
For the rm|remove pair, this was implemented vice versa.
Signed-off-by: Harald Albers <github@albersweb.de>
2017-07-07 12:03:51 +02:00
Harald Albers
211bd55ae7
Add bash completion for `secret inspect --pretty`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-07-07 12:03:51 +02:00
Harald Albers
c40952b305
Add bash completion for `docker config` command family
...
This adds bash completion for
- https://github.com/docker/cli/pull/45
- https://github.com/moby/moby/pull/32336
Signed-off-by: Harald Albers <github@albersweb.de>
2017-07-07 12:03:51 +02:00
Aaron Lehmann
dfdbdab651
Merge pull request #303 from yastij/fix-SIGSEGV-runContainer
...
fixing SIGSEGV when running containers
2017-07-06 15:45:38 -07:00
Aaron Lehmann
c9b92a328d
progress: Light refactor
...
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2017-07-06 10:40:35 -07:00