Commit graph

25182 commits

Author SHA1 Message Date
Harald Albers
79296b2770 bash completion for -c alias to --cpu-shares
Signed-off-by: Harald Albers <github@albersweb.de>
2016-06-21 11:30:26 +02:00
Aaron Lehmann
2753a5e916 Merge pull request #23770 from sfsmithcha/edit_swarm_concept
clarify swarm concept
2016-06-21 00:29:49 -07:00
Sebastiaan van Stijn
815b2ffb41 Merge pull request #23777 from thaJeztah/disable-api-1.25
Temporarily disable API v1.25 docs
2016-06-20 14:50:03 -07:00
Sebastiaan van Stijn
59bdd4e569
Temporarily disable API v1.25 docs
The docs are currently published from "master" for the RC,
so hiding v1.25 API, which is for docker 1.13

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-06-20 13:50:00 -07:00
Charles Smith
e029631713 clarify swarm concept
Signed-off-by: Charles Smith <charles.smith@docker.com>
2016-06-20 11:02:56 -07:00
Alexander Morozov
1bbac428de Merge pull request #23011 from coolljt0725/fix_link
Fix link doesn't work sometimes when container start with multiple networks
2016-06-20 09:42:13 -07:00
Alexander Morozov
e7fd784868 Merge pull request #23399 from tkopczynski/23211-info-command
Migrate info command to cobra
2016-06-20 09:38:53 -07:00
Alexander Morozov
7d7d8fa752 Merge pull request #23449 from HackToday/improveunit
Improve the TestEventsContainerWithMultiNetwork UT
2016-06-20 09:38:22 -07:00
Alexander Morozov
1475557341 Merge pull request #23649 from dmcgowan/image-delete-last-repo-ref
Update rmi logic for canonical references
2016-06-20 09:35:16 -07:00
Alexander Morozov
8258b09df1 Merge pull request #23678 from dnephin/share-more-node-update-code
Some cleanup for new CLI commands
2016-06-20 09:33:33 -07:00
Daniel Nephin
cacaeab9db Remove dead code from node update.
Also share mode code between update commands
and use flag constants

Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-06-20 11:05:48 -04:00
Daniel Nephin
c08a50dbd1 Use flag constants for swarm flag.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-06-20 11:04:37 -04:00
Daniel Nephin
9d1f3373b3 add more flag constants to service update.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-06-20 11:03:36 -04:00
Sebastiaan van Stijn
e070503511 Merge pull request #23737 from cpuguy83/cleanup_some_service_api_docs
Fix a bunch of issues with service API docs
2016-06-20 07:03:37 -07:00
Brian Goff
79e1d3877a Fix a bunch of issues with service API docs
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2016-06-20 06:40:31 -07:00
Vincent Demeester
bfff4cce67 Merge pull request #23696 from sfsmithcha/check_swarm_cli
update docker swarm cli
2016-06-20 15:40:06 +02:00
Vincent Demeester
2bc3efffe2 Merge pull request #23714 from albers/fix-completion-service-swarm-node
Fix bash completion for `docker {swarm,node}` subcommands
2016-06-20 15:37:08 +02:00
Sven Dowideit
14a2633f3c Merge pull request #23764 from SvenDowideit/use-rc-advisory
Use rc advisory
2016-06-20 21:56:28 +10:00
Sven Dowideit
daedbc60d6 Add the advisory=rc metadata
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-06-20 11:54:53 +00:00
Sebastiaan van Stijn
37ee14a998
remove "RC" warning from Markdown files
A site-wide banner is going to be used, so we don't need this warning

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-06-20 00:24:37 -07:00
Sven Dowideit
d9b1c2452a Merge pull request #23755 from thaJeztah/fix-experimental-markdown-formatting
Fix markdown formatting for experimental
2016-06-20 17:23:12 +10:00
Sebastiaan van Stijn
a92f6551c9
Fix markdown formatting for experimental
- don't indent code-blocks that use fences
- fixed some formatting
- wrapped long lines to 80-chars
- removed stray empty lines

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-06-20 00:16:25 -07:00
Sven Dowideit
2cb050cde3 Merge pull request #23751 from friism/move-dab-into-title-and-intro
bring dab into title and intro
2016-06-20 15:06:26 +10:00
Michael Friis
6defef5619 bring dab into title and intro
Signed-off-by: Michael Friis <friism@gmail.com>
2016-06-19 22:04:30 -07:00
Sven Dowideit
19d571e8eb Merge pull request #23747 from friism/expand-experimental-bundle-doc
expand stack doc
2016-06-20 09:57:07 +10:00
Michael Friis
cd2237c2bc expand stack doc
Signed-off-by: Michael Friis <friism@gmail.com>
2016-06-19 16:53:46 -07:00
Sebastiaan van Stijn
70e47c4f75 Merge pull request #23731 from WeiZhang555/fix-help
Make --help information consistent
2016-06-19 16:12:09 -07:00
Sebastiaan van Stijn
b644ab5a44 Merge pull request #23741 from sfsmithcha/add_links
add links to swarm and service commands to swarm mode overview
2016-06-19 15:59:19 -07:00
Charles Smith
c13c560196 add links to swarm and service commands to swarm mode overview
Signed-off-by: Charles Smith <charles.smith@docker.com>
2016-06-19 11:43:49 -07:00
Vincent Demeester
4cc70c921f Merge pull request #23723 from tonistiigi/incomplete-restore
Don’t try to restore swarm from incomplete state
2016-06-19 19:56:39 +02:00
Vincent Demeester
f01e8556bb Merge pull request #23736 from yongtang/06192016-reference-link
Fix reference link error in Jenkins docs failure
2016-06-19 18:24:55 +02:00
Yong Tang
1cb7fb4d2e Fix reference link error in Jenkins docs failure
This fix fixes one of the Jenkins docs failure:
https://jenkins.dockerproject.org/job/docs-docker-pr/9754/

There are 7 errors. This fix addresses one:
`* link error: (in page engine/userguide/storagedriver/device-mapper-driver.md) ../../reference/commandline/dockerd/#storage-driver-options`

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-06-19 08:50:13 -07:00
Sebastiaan van Stijn
6cc5c8a732 Merge pull request #23734 from yongtang/06192016-reference-link-deprecated-docs
Add release tag reference links in deprecated.md
2016-06-19 07:44:25 -07:00
Yong Tang
bc20354b09 Add release tag reference links in deprecated.md
This fix adds a couple of missed release tag reference links in deprecated.md

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-06-19 06:13:57 -07:00
Vincent Demeester
ce72bf8028 Merge pull request #23720 from yongtang/23716-renaming-started-container
Fix `docker start` error with renamed container
2016-06-19 13:56:13 +02:00
Vincent Demeester
f480bda09f Merge pull request #23721 from mrjana/vendor
Vendoring libnetwork @ab62dd6bf06bf0
2016-06-19 12:09:19 +02:00
Zhang Wei
0e53976336 Make --help information consistent
Other docker command always print "[OPTIONS]" right after `docker
COMMAND`, but `build` and `push` has inconsistent help message.

This commit will fix help information format.

Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
2016-06-19 16:26:23 +08:00
Alexander Morozov
98aa5fb2c0 Merge pull request #23719 from shurcooL/integration-cli-fix-style-issue
integration-cli: Change "Dns" to "DNS".
2016-06-18 21:33:24 -07:00
Tonis Tiigi
ded1d9af38 Don’t try to restore swarm from incomplete state
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2016-06-18 19:43:47 -07:00
Jana Radhakrishnan
663159e9ac Vendoring @ab62dd6bf06bf0
Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
2016-06-18 19:19:13 -07:00
Yong Tang
6e86733b47 Fix docker start error with renamed container
This fix tries to fix the issue raised in #23716 where `docker start`
causes an error of `No such container:` if the container has been
renamed before `docker start` returns.

The issue is that `docker start` use container name passed at the
beginning to check for exit code at the end of the `docker start`.

This fix addresses the issue by always use container's `ID` to get
the information during `docker start`.

Additional integration tests have been added to cover this fix.

This fix fixes #23716.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-06-18 16:43:30 -07:00
Dmitri Shuralyov
8cf4133f37 integration-cli: Change "Dns" to "DNS".
This fixes a minor lint/style issue, improves consistency.

According to Go style, which this project follows, acronyms should have
a consistent case. Source: https://github.com/golang/go/wiki/CodeReviewComments#initialisms

See https://github.com/docker/docker/pull/11310#discussion_r67394302.

Signed-off-by: Dmitri Shuralyov <shurcooL@gmail.com>
2016-06-18 16:32:27 -07:00
Sebastiaan van Stijn
83f2feb72d Merge pull request #23717 from thaJeztah/carry-23482
[carry 23482] Update inspect reference
2016-06-18 13:52:01 -07:00
Charles Chan
17ae6539f6 Update help output to match Docker 1.11.
* Also touch up headings.

Signed-off-by: Charles Chan <charleswhchan@users.noreply.github.com>
2016-06-18 13:47:12 -07:00
Sebastiaan van Stijn
7dee5deb4d Merge pull request #23650 from sfsmithcha/rc1_updates
update cli commands output for rc1, revise key concepts
2016-06-18 12:37:55 -07:00
Charles Smith
9499d5fd52 update cli commands output for rc1, revise key concepts
Signed-off-by: Charles Smith <charles.smith@docker.com>
2016-06-18 11:38:27 -07:00
Harald Albers
e65f036e13 fix bash completion for docker {swarm,node} subcommands
Signed-off-by: Harald Albers <github@albersweb.de>
2016-06-18 10:28:20 -07:00
Harald Albers
19753ec84d correct sort order in new bash completions
The completion for the new `docker service`, `docker swarm` and
`docker node` command families were partly added in non-alphabetical
order.

Signed-off-by: Harald Albers <github@albersweb.de>
2016-06-18 09:54:44 -07:00
Mike Goelzer
5cf73a47f5 Add bash completion for docker service scale
Signed-off-by: Mike Goelzer <mike.goelzer@docker.com>

Conflicts:
	contrib/completion/bash/docker
2016-06-18 09:27:06 -07:00
Sebastiaan van Stijn
1d45334a1a Merge pull request #23713 from SvenDowideit/fix-more-links
Fix more links
2016-06-18 07:49:18 -07:00