Sally O'Malley
ce4e79a2a8
Change 'docker run' exit codes to distinguish docker/contained errors
...
The purpose of this PR is for users to distinguish Docker errors from
contained command errors.
This PR modifies 'docker run' exit codes to follow the chroot standard
for exit codes.
Exit status:
125 if 'docker run' itself fails
126 if contained command cannot be invoked
127 if contained command cannot be found
the exit status otherwise
Signed-off-by: Sally O'Malley <somalley@redhat.com >
Upstream-commit: c48ec056d5
Component: cli
2017-06-02 00:07:15 +00:00
rsmoorthy
7f5cb98ede
multiple mount/unmount req with same volume name
...
Updating docs to handle mount/unmount requests with same volume name. Issue #17585
Signed-off-by: Moorthy RS <rsmoorthy@gmail.com >
Upstream-commit: 904cadc0c2
Component: cli
2017-06-02 00:07:15 +00:00
Madhu Venugopal
b4acd55a6d
Updating networking docs with technical information
...
- the /etc/hosts read caveat due to dynamic update
- information about docker_gwbridge
- Carries and closes #17654
- Updating with last change by Madhu
- Updating with the IPAM api 1.22
Signed-off-by: Mary Anthony <mary@docker.com >
Upstream-commit: 2d486b08c8
Component: cli
2017-06-02 00:07:15 +00:00
Mary Anthony
6e6828db93
Fixing ZooKeeper and some other nits Nathan found
...
Signed-off-by: Mary Anthony <mary@docker.com >
Upstream-commit: 7e68b5f73b
Component: cli
2017-06-02 00:07:15 +00:00
Mary Anthony
8050e305f6
First pass at consolidating
...
Removing old networking.md
Updating dockernetworks.md with images
Adding information on network plugins
Adding blurb about links to docker networking
Updating the working documentation
Adding Overlay Getting Started
Downplaying links by removing refs/examples, adding refs/examples for network.
Updating getting started to reflect networks not links
Pulling out old network material
Updating per discussion with Madhu to add Default docs section
Updating with bridge default
Fix bad merge
Updating with new cluster-advertise behavior
Update working and NetworkSettings examples
Correcting example for default bridge discovery behavior
Entering comments
Fixing broken Markdown Syntax
Updating with comments
Updating all the links
Signed-off-by: Mary Anthony <mary@docker.com >
Upstream-commit: 02a859b9f3
Component: cli
2017-06-02 00:07:15 +00:00
Eric Rosenberg
986b7e312c
Update kill.md
...
Added Note to show users that signals will not propagate to the container if the preferred exec form isn't used.
Signed-off-by: Eric Rosenberg <ehaydenr@gmail.com >
Upstream-commit: 05242a4c60
Component: cli
2017-06-02 00:07:15 +00:00
Mary Anthony
b0b9294f03
Updating network commands: adding man pages
...
Adding Related information blocks
Final first draft pass: ready for review
Review comments
Entering comments from the gang
Updating connect to include paused
Signed-off-by: Mary Anthony <mary@docker.com >
Upstream-commit: 4985b20ea1
Component: cli
2017-06-02 00:07:15 +00:00
Steve Durrheimer
2de3c9f772
Fix missing double quote in zsh completion
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 7f6859ce5a
Component: cli
2017-06-02 00:07:15 +00:00
Vincent Bernat
bc09bd9da3
zsh: allow option stacking for short options without arguments
...
This enables Zsh to understand commands like "docker run -it
ubuntu". However, by enabling this, this also makes Zsh completes
"docker run -u<tab>" with "docker run -uapprox" which is not valid. The
users have to put the space or the equal sign themselves before trying
to complete.
Therefore, this behavior is disabled by default. To enable it:
zstyle ':completion:*:*:docker:*' option-stacking yes
zstyle ':completion:*:*:docker-*:*' option-stacking yes
Signed-off-by: Vincent Bernat <vincent@bernat.im >
Upstream-commit: b10fb43048
Component: cli
2017-06-02 00:07:15 +00:00
Vincent Bernat
052dd3f6a8
zsh: allow short options to specify their arguments with "="
...
This is allowed by Docker and helps the completion to not get confused
when a user uses this notation. This will also help to enable stacking
of short options since Zsh needs that to not stack options with
arguments.
Signed-off-by: Vincent Bernat <vincent@bernat.im >
Upstream-commit: 2102746489
Component: cli
2017-06-02 00:07:15 +00:00
Steve Durrheimer
8c65a8b8f6
Add zsh completion for 'docker build' multi tags
...
+ Fix some others multi options
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 060e6e1935
Component: cli
2017-06-02 00:07:14 +00:00
Steve Durrheimer
644e4c5a10
Fix repeatable options in zsh completion
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 4332d3b5d8
Component: cli
2017-06-02 00:07:14 +00:00
Mary Anthony
0d90750323
Tweaking some things
...
Signed-off-by: Mary Anthony <mary@docker.com >
Upstream-commit: cd95e0a5c5
Component: cli
2017-06-02 00:07:14 +00:00
Steve Durrheimer
474ccf50b2
Add splunk log driver to zsh completion
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 526c844004
Component: cli
2017-06-02 00:07:14 +00:00
Denis Gladkikh
3be895e8da
Add Splunk logging driver #16207
...
Allow to send Splunk logs using Http Event Collector
Signed-off-by: Denis Gladkikh <denis@gladkikh.email >
Upstream-commit: 1e2a27568b
Component: cli
2017-06-02 00:07:14 +00:00
Shijiang Wei
e16c15092c
Add ability to add multiple tags with docker build
...
Signed-off-by: Shijiang Wei <mountkin@gmail.com >
Upstream-commit: 9d9976ae3a
Component: cli
2017-06-02 00:07:14 +00:00
Harald Albers
3e5032bf12
bash completion for log driver options env and labels
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: a41d4dbdde
Component: cli
2017-06-02 00:07:14 +00:00
Steve Durrheimer
a897c3f32c
Zsh completion for 'docker network inspect' multiple networks
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: f06b7a7713
Component: cli
2017-06-02 00:07:14 +00:00
Harald Albers
b10cc3ac63
bash completion can be configured to complete network IDs
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: be7caf2647
Component: cli
2017-06-02 00:07:14 +00:00
Harald Albers
a2346eda68
bash completion for docker network inspect supports multiple networks
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: b20b7584de
Component: cli
2017-06-02 00:07:14 +00:00
Sven Dowideit
5f40c7f270
Fix some errant links
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au >
Upstream-commit: 428a089858
Component: cli
2017-06-02 00:07:14 +00:00
Jeremy Unruh
1a8d32cc2e
changes from review - which -> that
...
Signed-off-by: Jeremy Unruh <jeremybunruh@gmail.com >
Upstream-commit: 91fbce30e8
Component: cli
2017-06-02 00:07:14 +00:00
Jeremy Unruh
8f5cb8d6a6
changes from review - move up to conform to alphabetical order
...
Signed-off-by: Jeremy Unruh <jeremybunruh@gmail.com >
Upstream-commit: 3e901572a5
Component: cli
2017-06-02 00:07:14 +00:00
Jeremy Unruh
cac5b20d4f
docs: Add Netshare volume plugin to extend/plugins
...
Signed-off-by: Jeremy Unruh <jeremybunruh@gmail.com >
Upstream-commit: 48a8ca15d8
Component: cli
2017-06-02 00:07:14 +00:00
Harald Albers
ef216a0fb8
bash completion for docker cp supports copying both ways
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 6b43a0aa73
Component: cli
2017-06-02 00:07:14 +00:00
Harald Albers
cbff938ed8
bash completion for new docker network create options
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: a2bbb2c61c
Component: cli
2017-06-02 00:07:14 +00:00
Steve Durrheimer
00a2827cb7
Add zsh completion for 'docker network create -o --opt'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 4e6212f389
Component: cli
2017-06-02 00:07:14 +00:00
Aidan Hobson Sayers
9e47fd5a5a
Update ambassador image, use the socat -t option
...
Signed-off-by: Aidan Hobson Sayers <aidanhs@cantab.net >
Upstream-commit: edbb82c900
Component: cli
2017-06-02 00:07:14 +00:00
GabrielNicolasAvellaneda
eb88c834cf
MINOR typo fix.
...
Signed-off-by: GabrielNicolasAvellaneda <avellaneda.gabriel@gmail.com >
Upstream-commit: aa9830907a
Component: cli
2017-06-02 00:07:13 +00:00
Harald Albers
a5c27ff0c7
Bash completion for restart policy unless-stopped
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 28f2bdf335
Component: cli
2017-06-02 00:07:13 +00:00
Harald Albers
a8b3e2deea
bash completion: support for dm.use_deferred_* options
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 321a5b38e7
Component: cli
2017-06-02 00:07:13 +00:00
Sebastiaan van Stijn
565f5031db
docs: fix storage driver options list
...
This fixes the indentation of the storage driver
options list.
Also wraps/reformats some examples to prevent
horizontal scrollbars on the rendered HTML
Fixes #17140
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
Upstream-commit: 91e898094f
Component: cli
2017-06-02 00:07:13 +00:00
Vincent Demeester
80cce1f5ce
Deprecate -c cli short variant flag in docker cli
...
- build
- create
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
Upstream-commit: 4c506e1df7
Component: cli
2017-06-02 00:07:13 +00:00
Harald Albers
a9f41b5a62
Add missing options to bash completion for docker import
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: c3c2867b15
Component: cli
2017-06-02 00:07:13 +00:00
Harald Albers
cc1819978a
bash completion: minor refactoring for consistency
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 9d4969150a
Component: cli
2017-06-02 00:07:13 +00:00
Harald Albers
d40cef7233
Add missing options to bash completion for docker build
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 0ef21aeab2
Component: cli
2017-06-02 00:07:13 +00:00
Steve Durrheimer
dd502cefea
Zsh completion : all --<option>= flag values may be given in the next argument
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 88664b18b9
Component: cli
2017-06-02 00:07:13 +00:00
Steve Durrheimer
0372f2a433
Add zsh completion for 'docker import -m --message'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 1040139182
Component: cli
2017-06-02 00:07:13 +00:00
Steve Durrheimer
fe064e150d
Deprecate 'docker run -c' option in zsh completion
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 570a5f17bf
Component: cli
2017-06-02 00:07:13 +00:00
Steve Durrheimer
622facd72b
Add zsh completion for 'unless-stopped' restart policy
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: dbf572a81d
Component: cli
2017-06-02 00:07:13 +00:00
Steve Durrheimer
014a8fa50f
Add zsh completion for 'docker build --build-arg'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 96af7e18b9
Component: cli
2017-06-02 00:07:13 +00:00
Steve Durrheimer
52c421ec6b
Remove '-n -l --latest' options from 'docker network ls' in zsh completion
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: b6b1fc6a34
Component: cli
2017-06-02 00:07:13 +00:00
Steve Durrheimer
ef15f35c65
Add zsh completion for '--ipam-driver --subnet --ip-range --gateway --aux-address' for 'docker network create'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: d6ac5c6556
Component: cli
2017-06-02 00:07:13 +00:00
Madhu Venugopal
de10af7bd7
Added network to docker --help and help cleanup
...
Fixes https://github.com/docker/docker/issues/16909
Signed-off-by: Madhu Venugopal <madhu@docker.com >
Upstream-commit: 3a779b2995
Component: cli
2017-06-02 00:07:13 +00:00
Victor Vieux
e15d2f0090
use Server Version
...
Signed-off-by: Victor Vieux <vieux@docker.com >
Upstream-commit: dd1d35285b
Component: cli
2017-06-02 00:07:13 +00:00
Sally O'Malley
a1b4133afe
add clarity to -p option
...
Signed-off-by: Sally O'Malley <somalley@redhat.com >
Upstream-commit: 445552696c
Component: cli
2017-06-02 00:07:13 +00:00
Jian Zhang
eaf51eb079
Improve the way we deliver Examples in command line. (Add descriptive titles)
...
Signed-off-by: Jian Zhang <zhangjian.fnst@cn.fujitsu.com >
Upstream-commit: c897310c29
Component: cli
2017-06-02 00:07:13 +00:00
Harald Albers
e44fcd2712
Add bash completion for docker inspect --size
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 3a89624209
Component: cli
2017-06-02 00:07:12 +00:00
Zhang Kun
9a66bfc2e3
add size to inspect
...
Signed-off-by: Zhang Kun <zkazure@gmail.com >
Upstream-commit: de3e44577a
Component: cli
2017-06-02 00:07:12 +00:00
Mike Brown
900900b4d7
updating docs for EXPOSE option on run command; fixes #16634
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com >
Upstream-commit: d83594a46d
Component: cli
2017-06-02 00:07:12 +00:00