Tõnis Tiigi
e875370af8
Merge pull request #25650 from pwzgorilla/master
...
replace `handleWithGlobalMiddlewares` with `handlerWithGlobalMiddlewa…
2016-08-26 09:51:51 -07:00
Aaron Lehmann
cbd4e4d48a
Merge pull request #24514 from cpuguy83/fix_log_follow_rotate
...
Fix issues with tailing rotated jsonlog file
2016-08-26 09:47:40 -07:00
Brian Goff
416fc7ffe4
Merge pull request #25943 from yongtang/25863-ip-address-validation
...
Validate `--ip` and `--ip6` for `docker create`
2016-08-26 12:32:00 -04:00
Doug Davis
91ec7fa811
Merge pull request #26030 from yongtang/08252016-doc-docker-create-rm
...
Update docs for `docker create` to include `--rm` flag
2016-08-26 09:06:30 -04:00
Vincent Demeester
06829ce8d6
Merge pull request #26035 from sakeven/fmt_dockerfile_error_message
...
Fmt dockerfile error message
2016-08-26 14:47:22 +02:00
sakeven
7d75e42bc9
fmt dockerfile error message
...
Signed-off-by: sakeven <jc5930@sina.cn>
2016-08-26 18:36:30 +08:00
mgniu
c5ecf1e6fe
change comment
...
Signed-off-by: mgniu <mgniu@dataman-inc.com>
2016-08-26 18:30:41 +08:00
Antonio Murdaca
91fdafb79f
Merge pull request #26029 from WhisperingChaos/25918-permissive-to-privileged
...
Fixes #25918 - Changed --permissive to --privileged.
2016-08-26 12:06:58 +02:00
Vincent Demeester
48ff20c795
Merge pull request #26016 from vdemeester/docs-restart-policy-api-changes
...
Update docker remote api to mention restart policy validation
2016-08-26 07:57:53 +02:00
Vincent Demeester
72e7cd75c1
Merge pull request #25919 from yuexiao-wang/fix-refer
...
Remove the redundant words in reference for swarm
2016-08-26 07:57:07 +02:00
Yong Tang
5118dd2992
Update documentation for validation of --ip
and ip6
.
...
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-08-25 22:11:56 -07:00
Yong Tang
c7045eb935
Validate --ip
and --ip6
for docker create
...
This fix tries to fix the issue raised in 25863 where `--ip` value
is not validated for `docker create`. As a result, the IP address
passed by `--ip` is not used for `docker create` (ignored silently).
This fix adds validation in the daemon so that `--ip` and `--ip6`
are properly validated for `docker create`.
An integration test has been added to cover the changes.
This fix fixes 25863.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-08-25 22:11:23 -07:00
Yong Tang
d7468cff4d
Update docs for docker create
to include --rm
flag
...
Since 20848 has been merged and both `docker create` and
`docker run` share the same `runconfig` parser, now both
`docker run` and `docker create` allow to specify the
`--rm` flag. However, docs for `docker create` has not
been udpated yet.
This fix updates docs for `docker create` so that `--rm`
flag has been included.
This fix is related to 20848 and 25577.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-08-25 22:05:38 -07:00
yuexiao-wang
8bcc8ebacc
Remove the redundant description
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2016-08-26 08:36:34 +08:00
Daniel Nephin
25587906d1
Merge pull request #25354 from dnephin/remove-mflag-from-dockerd
...
Convert docker and dockerd commands to spf13/cobra
2016-08-25 17:19:19 -04:00
Brian Goff
5761d8b342
Merge pull request #25992 from anusha-ragunathan/legacy_cleanup
...
Cleanup handleLegacy logic.
2016-08-25 17:13:47 -04:00
Rich Moyse
b63ce3305c
Fixes #25918 - Changed --permissive to --privileged.
...
Signed-off-by: Rich Moyse <rich@moyse.us>
2016-08-25 16:49:37 -04:00
Alexander Morozov
8d99dfbc69
Merge pull request #25978 from justincormack/no-no-gccgo
...
Remove gccgo support
2016-08-25 12:12:29 -07:00
Vincent Demeester
4e4ebbe340
Merge pull request #25896 from raksonibs/fix/docs_step_6
...
Email deprecation for step 6 of tutorial
2016-08-25 21:06:20 +02:00
Anusha Ragunathan
031a2a5c4b
Cleanup fallback to V1 plugins logic.
...
handleLegacy is a flag to indicate whether daemon is supporting legacy
plugins. When the time comes to remove support for legacy plugins,
flipping this bool is all that will be needed to remove legacy plugin
support. This can be a global variable rather than be embedded in the
manager, thereby cleaning up code.
Also rename to allowV1PluginsFallback for clarity.
Signed-off-by: Anusha Ragunathan <anusha@docker.com>
2016-08-25 11:39:47 -07:00
Oskar Niburski
fbe222a35b
Remove Username and Password prompt with login for Step six.
...
Signed-off-by: Oskar Niburski <oskarniburski@gmail.com>
2016-08-25 14:23:45 -04:00
Justin Cormack
f243bfbc9d
All supported Go versions have -cover now
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-08-25 18:24:35 +01:00
Arnaud Porterie
46cb1f2601
Merge pull request #25750 from talex5/spec
...
Document Healthcheck in image spec
2016-08-25 17:23:51 +00:00
Vincent Demeester
29232a5d8e
Merge pull request #25888 from vdemeester/listcontainerfornode-refactoring
...
Move ListContainersForNode into cluster package
2016-08-25 19:10:18 +02:00
Daniel Nephin
6e7405ebd4
Fix tests and windows service.
...
Support args to RunCommand
Fix docker help text test.
Fix for ipv6 tests.
Fix TLSverify option.
Fix TestDaemonDiscoveryBackendConfigReload
Use tempfile for another test.
Restore missing flag.
Fix tests for removal of shlex.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-08-25 13:09:36 -04:00
Daniel Nephin
14712f9ff0
Remove old cli framework.
...
Also consolidate the leftover packages under cli.
Remove pkg/mflag.
Make manpage generation work with new cobra layout.
Remove remaining mflag and fix tests after rebase with master.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-08-25 13:09:04 -04:00
Daniel Nephin
31bf9ca0c8
Update unit tests for new cobra root command.
...
Cleanup cobra integration
Update windows files for cobra and pflags
Cleanup SetupRootcmd, and remove unnecessary SetFlagErrorFunc.
Use cobra command traversal
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-08-25 13:09:04 -04:00
Daniel Nephin
7c556849aa
Add testutil/tempfile
...
Improve error messages raised by assert.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-08-25 13:09:03 -04:00
Daniel Nephin
0452ff5a4d
Convert docker root command to use pflag and cobra
...
Fix the daemon proxy for cobra commands.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-08-25 13:09:03 -04:00
Daniel Nephin
fb83394714
Convert dockerd to use cobra and pflag
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-08-25 13:09:03 -04:00
Daniel Nephin
ac40179e8a
Update spf13/cobra vendor to v1.4.1
...
Support command traversal
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-08-25 13:09:03 -04:00
Charles Smith
dee3044336
Merge pull request #25781 from sfsmithcha/add_ingress_guide
...
author merge: add ingress / publish port guide
2016-08-25 10:06:11 -07:00
Vincent Demeester
0c6926070f
Merge pull request #25816 from anusha-ragunathan/vol-plugin-list
...
Make `docker volume list` lookup plugins installed using new model.
2016-08-25 19:02:25 +02:00
Vincent Demeester
a36016cd3a
Merge pull request #25481 from keloyang/build-args-docker-env
...
Add DOCKER_BUILD_ARGS to DOCKER_ENVS in Makefile
2016-08-25 18:56:08 +02:00
Brian Goff
95fca642a1
Merge pull request #26008 from resin-os/fix-btrfs-check
...
check-config.sh: Add check for CONFIG_BTRFS_FS_POSIX_ACL
2016-08-25 12:39:35 -04:00
Charles Smith
465fd93f1c
add ingress / publish port guide
...
Signed-off-by: Charles Smith <charles.smith@docker.com>
2016-08-25 09:24:45 -07:00
Brian Goff
15f3d060ac
Merge pull request #24153 from frodenas/syslog-fix
...
Syslog Driver: RFC 5425 Message Framing should be used only when protocol is TCP+TLS
2016-08-25 12:15:06 -04:00
Alexander Morozov
78771b6225
Merge pull request #25786 from splunk/splunk-logging-driver-raw-format-using-json
...
Splunk Logging Driver: formats and verifyconnection
2016-08-25 09:12:31 -07:00
Vincent Demeester
aff33055ac
Merge pull request #25996 from yuexiao-wang/fix-docker-daemon
...
Replace docker command from 'docker daemon' to 'dockerd'
2016-08-25 17:58:00 +02:00
Vincent Demeester
a011a94be7
Update docker remote api to mention restart policy validation
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-08-25 17:03:18 +02:00
Vincent Demeester
d13ad3ef76
Merge pull request #24073 from johnharris85/move-restart-policy-check-to-daemon
...
Move restart-policy validation from client to daemon.
2016-08-25 17:02:30 +02:00
Vincent Demeester
8ebb7dba8b
Merge pull request #25920 from coolljt0725/fix_inspect_dead
...
Fix inspect Dead container
2016-08-25 17:00:59 +02:00
Brian Goff
7250dd4222
Merge pull request #26013 from ShawnHe711/correct-nit-in-command-annotation
...
correct command annotation
2016-08-25 10:39:42 -04:00
Brian Goff
e32e0a6cdc
Merge pull request #26010 from allencloud/fix-rm-plugin-arg-num
...
fix rm plugin arg number to be min 1
2016-08-25 10:38:49 -04:00
shawnhe
b642282990
correct command annotation
...
Signed-off-by: shawnhe <shawnhe@shawnhedeMacBook-Pro.local>
2016-08-25 21:29:59 +08:00
allencloud
d527149064
fix rm plugin arg number to be min 1
...
Signed-off-by: allencloud <allen.sun@daocloud.io>
2016-08-25 20:53:49 +08:00
Andrei Gherzan
1c886a70df
check-config.sh: Add check for CONFIG_BTRFS_FS_POSIX_ACL
...
docker is trying to set system.posix_acl_access but using BTRFS this fails if
CONFIG_BTRFS_FS_POSIX_ACL is not activated.
Signed-off-by: Andrei Gherzan <andrei@resin.io>
2016-08-25 13:20:18 +01:00
yuexiao-wang
530668cb22
Replace docker command from 'docker daemon' to 'dockerd'
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2016-08-25 17:04:44 +08:00
Brian Goff
4844d13bd7
Merge pull request #25933 from dtrott/25932-container-name
...
Added the word "container" to clarify the error message.
2016-08-24 16:15:10 -04:00
Vincent Demeester
4d590ba44a
Merge pull request #25967 from valgaze/feat/lewin
...
Add Daniel Lewin to names collection
2016-08-24 20:28:55 +02:00