Yong Tang
92ffbd2b52
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>
(cherry picked from commit 6e86733b47
)
2016-06-30 16:47:37 -07:00
Jana Radhakrishnan
2b45db42b2
Vendoring @ab62dd6bf06bf0
...
Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
(cherry picked from commit 663159e9ac
)
2016-06-30 16:47:37 -07:00
Charles Chan
fe2a9bea38
Update help output to match Docker 1.11.
...
* Also touch up headings.
Signed-off-by: Charles Chan <charleswhchan@users.noreply.github.com>
(cherry picked from commit 17ae6539f6
)
2016-06-18 20:58:25 -07:00
Charles Smith
dd39dbe79c
update cli commands output for rc1, revise key concepts
...
Signed-off-by: Charles Smith <charles.smith@docker.com>
(cherry picked from commit 9499d5fd52
)
2016-06-18 20:58:25 -07:00
Sven Dowideit
e8e1fbb72f
bad url
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
(cherry picked from commit c2495dbe6d
)
2016-06-18 20:58:25 -07:00
Sven Dowideit
d546db33ff
href links are not converted from file.md by hugo
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
(cherry picked from commit ad1819ca1d
)
2016-06-18 20:58:24 -07:00
Daniel Nephin
3c35da6029
Add tests for AutoAcceptOption
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
(cherry picked from commit c544649874
)
2016-06-18 20:58:24 -07:00
Daniel Nephin
e090e2dbd4
Support a listen addr without a port, and add tests.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
(cherry picked from commit 595e79b805
)
2016-06-18 20:58:24 -07:00
Victor Vieux
6b2cd6e843
accept uppercase endpoint mode
...
Signed-off-by: Victor Vieux <vieux@docker.com>
(cherry picked from commit 8a0c5f1578
)
2016-06-18 20:58:24 -07:00
Jana Radhakrishnan
0728f28cbe
Vendoring swarmkit @3f135f206179e
...
Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
(cherry picked from commit 64a567d24c
)
2016-06-18 20:58:24 -07:00
tomwbarlow@gmail.com
9e1d592de3
Change log.printf service creation msg to debug
...
Signed-off-by: tomwbarlow@gmail.com <tomwbarlow@gmail.com>
(cherry picked from commit eed8d14ed1
)
2016-06-18 20:58:24 -07:00
Arnaud Porterie (icecrime)
f1f2461e09
Change docker service update
semantics
...
Change `docker service update` to replace attributes of the target
service rather than augment them. One particular occurrence where the
previous behavior proved problematic is when trying to update a port
mapping: the merge semantics provided no way of removing published
ports, but strictly of adding more.
The utility merge* functions where renamed accordingly to update*.
Signed-off-by: Arnaud Porterie (icecrime) <arnaud.porterie@docker.com>
(cherry picked from commit 1f8ab93b44
)
2016-06-18 20:58:23 -07:00
Harald Albers
ffb4daf0fb
fix bash completion for docker service
subcommands
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 42f3b1f4ad
)
2016-06-18 20:58:23 -07:00
Sebastiaan van Stijn
d5c89ec65e
Add initial "service" docs
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit f565bc7ec9
)
2016-06-18 20:58:23 -07:00
Victoria Bialas
d1c91b41e1
install mac and win pared down, link to d4mac, d4win, getting started improved, added menu.md's
...
fixing links to d4mac and d4win
updates per @Sven and @theJeztah, fixing links, typos, menu definitions, etc.
updates per Sven's comments in the PR
removed duplicate line in tutorials menu.md
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
(cherry picked from commit 5bc730eda7
)
2016-06-18 20:58:23 -07:00
Tibor Vass
906eacd586
Bump VERSION to v1.12.0-rc2
...
Signed-off-by: Tibor Vass <tibor@docker.com>
2016-06-17 16:28:45 -04:00
Tibor Vass
02772750e1
Merge pull request #23594 from tiborvass/changelog-fix
...
v1.12.0: some fixes to CHANGELOG
2016-06-17 13:25:47 -07:00
Tibor Vass
2ba4108c95
Merge pull request #23661 from tiborvass/cherry-picks-for-1.12.0-rc2
...
Cherry picks for 1.12.0 rc2
2016-06-17 13:20:10 -07:00
Tibor Vass
11daa3e417
v1.12.0: some fixes to CHANGELOG
...
Signed-off-by: Tibor Vass <tibor@docker.com>
2016-06-17 13:18:49 -07:00
Arnaud Porterie (icecrime)
944a8f16c7
Improve docker service inspect --pretty
...
Remove capitalization in placement, and remove spurious `\t`.
Signed-off-by: Arnaud Porterie (icecrime) <arnaud.porterie@docker.com>
(cherry picked from commit 3c60b7b984
)
2016-06-17 13:09:13 -07:00
Tibor Vass
70bd46293a
plugins: fix name handling for legacy plugins
...
Signed-off-by: Tibor Vass <tibor@docker.com>
(cherry picked from commit 8ba17b4823
)
2016-06-17 13:09:13 -07:00
Vincent Demeester
6eaac7be89
Update plugin command with defaulttag
...
This way, you don't have to specify the ":latest" tag for some command
and not for others
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit cb321e82db
)
2016-06-17 13:09:13 -07:00
Tibor Vass
2ae7330140
plugins: fix usage for plugin commands
...
Signed-off-by: Tibor Vass <tibor@docker.com>
(cherry picked from commit 65ed9daf70
)
2016-06-17 13:09:12 -07:00
Tibor Vass
1cfd620124
plugins: remove automatic mounting of a state dir
...
Signed-off-by: Tibor Vass <tibor@docker.com>
(cherry picked from commit 15ff9de658
)
2016-06-17 13:09:12 -07:00
Tibor Vass
f24e5d79bc
plugins: install should not automatically accept all permissions
...
Signed-off-by: Tibor Vass <tibor@docker.com>
(cherry picked from commit 4b70d4561e
)
2016-06-17 13:09:12 -07:00
Jana Radhakrishnan
a7c925cba4
Vendoring libnetwork @13be89d1cf79
...
Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
(cherry picked from commit 70e2585d54
)
2016-06-17 13:09:12 -07:00
Tonis Tiigi
bbc214fa9b
Add newline to promote/demote message
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 3386e3570a
)
2016-06-17 13:09:12 -07:00
Jana Radhakrishnan
8fdc925338
Check if DriverState is valid before using in convert
...
Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
(cherry picked from commit 4fea81154b
)
2016-06-17 13:09:12 -07:00
Anil Madhavapeddy
4b2883fac6
docker swarm
: more consistent CLI help
...
This changes `docker swarm help` to be consistent with capitals
and removes full stops.
Before:
```
Commands:
init Initialize a Swarm.
join Join a Swarm as a node and/or manager.
update update the Swarm.
leave Leave a Swarm.
inspect Inspect the Swarm
```
After:
```
Commands:
init Initialize a Swarm
join Join a Swarm as a node and/or manager
update Update the Swarm
leave Leave a Swarm
inspect Inspect the Swarm
```
Signed-off-by: Anil Madhavapeddy <anil@docker.com>
(cherry picked from commit 0ec78739ac
)
2016-06-17 13:09:12 -07:00
Ke Xu
05c32e7f08
fix #23017 , add zsh completion for dockerd
...
Signed-off-by: Ke Xu <leonhartx.k@gmail.com>
(cherry picked from commit bd1fc1e5c2
)
2016-06-17 13:09:11 -07:00
Anusha Ragunathan
82608cd4ce
Add disable flag for plugin Install.
...
Signed-off-by: Anusha Ragunathan <anusha@docker.com>
(cherry picked from commit 22e781e8e3
)
2016-06-17 13:09:11 -07:00
Harald Albers
fcdd4d4a52
bash completion for docker swarm update --cert-expiry
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit dc2fc75d42
)
2016-06-17 13:09:11 -07:00
Justin Cormack
445f4f2f3e
Missing line feed after accepting node
...
Avoids
```
root@swarmatorium:~# docker node accept 3dnh6k13o44np9fwl83e7gh80
Node 3dnh6k13o44np9fwl83e7gh80 accepted in the swarm.root@swarmatorium:~#
```
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
(cherry picked from commit c34d752419
)
2016-06-17 13:09:11 -07:00
Justin Cormack
b7a1f1a2d1
fix invalid typo in error message
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
(cherry picked from commit 2322ccb8ff
)
2016-06-17 13:09:11 -07:00
Charles Smith
aa1f241894
update output for node commands, minor edits
...
Signed-off-by: Charles Smith <charles.smith@docker.com>
(cherry picked from commit 3b2132c2c7
)
2016-06-16 23:36:59 -07:00
Daniel Nephin
fb364d86fa
Add some tests for bundlefile and improve the error messages for LoadFile
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
(cherry picked from commit c0ea589c1b
)
2016-06-16 23:36:59 -07:00
Victor Vieux
d747fbc95c
improve some messages in the node subcmds
...
Signed-off-by: Victor Vieux <vieux@docker.com>
(cherry picked from commit eb962235fb
)
2016-06-16 23:36:58 -07:00
Tonis Tiigi
0efe76c62b
Add integration test for parsing swarm update options
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit a933ac3c27
)
2016-06-16 23:36:58 -07:00
Tonis Tiigi
ab6abb799b
Add cert-expiry to swarm update
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 7d8d51aa9d
)
2016-06-16 23:36:58 -07:00
Brian Goff
9647e4d6cc
Implement plugin restore after daemon restart
...
This ensures that:
- The in-memory plugin store is populated with all the plugins
- Plugins which were active before daemon restart are active after.
This utilizes the liverestore feature when available, otherwise it
manually starts the plugin.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit dfd9187305
)
2016-06-16 23:36:58 -07:00
Brian Goff
be82ff5c7f
Fix removing plugins
...
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit 5e156fd3d4
)
2016-06-16 23:36:58 -07:00
Tonis Tiigi
efc10a92ef
Fix removing containers on leaving from pending state
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 826f6f0703
)
2016-06-16 23:36:58 -07:00
Victor Vieux
3635938b00
add some more fields in docker service inspect -p
...
Signed-off-by: Victor Vieux <vieux@docker.com>
(cherry picked from commit 4c9e21b674
)
2016-06-16 23:36:58 -07:00
Tonis Tiigi
0cac3c4c23
Return membership status on join without timeout
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 1973cee0cd
)
2016-06-16 23:36:57 -07:00
Tonis Tiigi
01c5b208e8
Update daemon to new swarmkit
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit a83bba467a
)
2016-06-16 23:36:57 -07:00
Tonis Tiigi
528f3ab668
Update swarmkit to 310f1119
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 2783568284
)
2016-06-16 23:36:57 -07:00
Derek McGowan
56b253fb3c
Do not show empty tags for digest references in output
...
When a repository has a tag and digests, show tag for each digest value.
Do not duplicate rows for the same image name with both tag and digest.
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
(cherry picked from commit 79eada3814
)
2016-06-16 23:36:57 -07:00
Sebastiaan van Stijn
b3387e96ed
fix "overlay" -> "overlay2" in error message
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 2d4b285a75
)
2016-06-16 23:36:57 -07:00
Vincent Demeester
42f445565d
Update ServiceInspectWithRaw
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit 4a70cb5571
)
2016-06-16 23:36:57 -07:00
Vincent Demeester
d9d24b6605
Update docker plugin install code…
...
… for more consistency (api side).
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit 2c82337b04
)
2016-06-16 23:36:57 -07:00