Anusha Ragunathan
9db0bd88f5
Redirect containerd stdout/stderr to the docker stream.
...
Its useful to have containerd logs as part of docker.
Containerd metrics are too chatty, so set interval to 0.
Signed-off-by: Anusha Ragunathan <anusha@docker.com>
(cherry picked from commit d9c3b653c0
)
2016-03-31 18:35:37 -04:00
Nalin Dahyabhai
b98f05b4f4
Open the journald following descriptor earlier
...
Following a journal log almost always requires a descriptor to be
allocated. In cases where we're running out of descriptors, this means
we might get stuck while attempting to start following the journal, at a
point where it's too late to report it to the client and clean up
easily. The journal reading context will cache the value once it's
allocated, so here we move the check earlier, so that we can detect a
problem when we can still report it cleanly.
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
(cherry picked from commit ab62ecf393
)
2016-03-31 18:35:37 -04:00
Nalin Dahyabhai
ed2fcd9a2a
Improve error reporting when following journals
...
When we set up to start following a journal, if we get error results
from sd_journal_get_fd() or sd_journal_get_events() that prevent us from
following the journal, report the error instead of just mysteriously
failing.
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com> (github: nalind)
(cherry picked from commit 8d597d25a8
)
2016-03-31 18:35:36 -04:00
Sebastiaan van Stijn
1e67fdf3e4
Un-deprecate auto-creation of host directories for mounts
...
Auto-creation of host-directories was marked deprecated in
Docker 1.9, but was decided to be too much of an backward-incompatible
change, so it was decided to keep the feature.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 0f70f53826
)
2016-03-31 18:35:36 -04:00
Ken Cochrane
2a60e5cac6
Change the directory inside of tgz files.
...
Currently the directory inside of the tgz files is /usr/local/bin
and this is causing some confusion, and problems with people who already
have stuff in those directories. This commit changes the directory
to /docker to help remove the confusion.
Signed-off-by: Ken Cochrane <kencochrane@gmail.com>
(cherry picked from commit 7df5b32834
)
2016-03-31 18:35:36 -04:00
Robin Naundorf
c319887dbb
Fixed some differences between API and Docs in v1.22,v1.23,v1.24
...
Signed-off-by: Robin Naundorf <r.naundorf@fh-muenster.de>
(cherry picked from commit 370dbe0cd9
)
2016-03-31 18:35:34 -04:00
Alexander Morozov
3fd08cc5e6
volume/store: fix couple of races with accessing maps
...
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
(cherry picked from commit e6d87c0706
)
2016-03-31 18:35:21 -04:00
Sebastiaan van Stijn
cd062fd3b3
Bump runC to 40f4e7873d88a4f4d12c15d9536bb1e34aa2b7fa
...
This includes fixes for;
- outputing errors for missing seccomp options on seccomp versions < 2.3
- cap set apply EPERM errors on ARM systems
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 752b31d3fe
)
2016-03-31 18:35:21 -04:00
Riyaz Faizullabhoy
55186eae32
move hardware signing out of experimental, remove dependencies to yubico-piv-tool
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
(cherry picked from commit 8d18e6b30f
)
2016-03-31 18:35:20 -04:00
Yong Tang
76215b3268
Update documentations for Warnings
fields in GET /volumes
API
...
This fix updated documentations to add the `Warnings` fields in
`GET /volumes` API.
The `Warnings` has been part of the `GET /volumes` API response
since Docker 1.10 (v1.21). However, the `Warnings` field is not
in the documentation so there are some confusions (See #21606 ).
This fix updated the related documentations in v1.22, v1.23, and
v1.24 and added this field to the API.
This fix is related to #21605 .
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
(cherry picked from commit d773927985
)
2016-03-31 18:35:18 -04:00
Anusha Ragunathan
f97f3e98fc
When using systemd, pass expected cgroupsPath and cli options to runc.
...
runc expects a systemd cgroupsPath to be in slice:scopePrefix:containerName
format and the "--systemd-cgroup" option to be set. Update docker accordingly.
Fixes 21475
Signed-off-by: Anusha Ragunathan <anusha@docker.com>
(cherry picked from commit 7ed3d265a4
)
2016-03-31 18:35:03 -04:00
Alexander Morozov
7500c8cc72
libcontainerd: reuse our pkg/locker
...
it fixes race with access to containerMutexes
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
(cherry picked from commit a7851e2556
)
2016-03-31 18:35:03 -04:00
Alessandro Boch
c3eed8430c
Vendoring boltb/bolt v1.2.0
...
Signed-off-by: Alessandro Boch <aboch@docker.com>
(cherry picked from commit 16bf3eede0
)
2016-03-31 18:35:03 -04:00
Tonis Tiigi
073d7841b4
Use separate exec-root for test daemons
...
Fixes #21545
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 0d9b94c4c5
)
2016-03-31 18:35:03 -04:00
Aaron Lehmann
8b0179c771
Correct login debug log message
...
I noticed the following message in a daemon log:
```
attempting v2 login to registry endpoint {%!s(bool=false) https://registry:5000 v2 %!s(bool=false) %!s(bool=true) %!s(*tls.Config=&{<nil> <nil> [] map[] <nil> 0xc82075c030 [] 0 <nil> false [49196 49200 49195 49199 49162 49161 49172 49171 53 47] true false [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] <nil> 769 0 [] {{0 0} 0} {{0 0} 0 0 0 0} []})}
```
loginV2 tries to log an APIEndpoint as a string, but this struct does
not have a String method. Log the actual URL that will be used as the
endpoint, instead.
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
(cherry picked from commit e42f85080b
)
2016-03-31 18:35:03 -04:00
Aaron Lehmann
85d1517184
Mention "docker login" in push/pull documentation
...
It was suggested to me that documentation for "docker pull" and "docker
push" should reference "docker login", to make clearer how to specify
credentials for a push or pull operation. Add a note to the manual pages
and reference documentation explaining how registry credentials are
managed.
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
(cherry picked from commit fb5ea0c0ef
)
2016-03-31 18:35:03 -04:00
Harald Albers
b59dced332
docs for docker daemon --containerd
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 75f0015c50
)
2016-03-31 18:35:03 -04:00
Brian Trump
89ede3ae23
Fix a link in the volumes doc to the deprecated doc.
...
Signed-off-by: Brian Trump <btrump@opselite.org>
(cherry picked from commit 02f951b67a
)
2016-03-31 18:35:02 -04:00
Tonis Tiigi
8facb73a8f
Protect aufs mounts with locks
...
Parallel aufs mount calls produce invalid argument error.
Fixes #21545
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 824c24e680
)
2016-03-31 18:35:02 -04:00
kamjar gerami
c4fa814ecd
fixes-#21581-no--subnetwork-option-as-specified-in-docs-for-work-with-networks.md: fixed typo in docs
...
Signed-off-by: kamjar gerami <kami.gerami@gmail.com>
(cherry picked from commit a4d4243b91
)
2016-03-31 18:35:02 -04:00
Harald Albers
e9279d57f7
fix wrong option name in dm.min_free_space
examples
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 2623b3496e
)
2016-03-31 18:35:02 -04:00
Harald Albers
01c531a72e
bash completion for storage option dm.min_free_space
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit eae4e84c66
)
2016-03-31 18:35:02 -04:00
Robin Naundorf
a17e61c020
Fixes #21538
...
typo corrected
Signed-off-by: Robin Naundorf <r.naundorf@fh-muenster.de>
(cherry picked from commit a1d6c60ee0
)
2016-03-31 18:35:02 -04:00
Sebastiaan van Stijn
19b22712c0
docs: add Ubuntu 16.04 "xenial"
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 62e7fde80f
)
2016-03-31 18:35:02 -04:00
Harald Albers
e6629d4c10
docs for labels on build, networks and volumes
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 995e5beda7
)
2016-03-31 18:35:01 -04:00
Tibor Vass
0c598f34b6
Merge pull request #21680 from thaJeztah/completion-cherry-picks
...
1.11 Bash and Zsh completion cherry picks
2016-03-31 10:55:39 -04:00
Harald Albers
e799da7e6a
bash completion for docker history --human
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit a2dbf7626c
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-03-30 22:51:55 -07:00
Harald Albers
50552642ca
bash completions: Improve consistency for options with default=true
...
Completion of these options was not handled consistently.
Now all such options immediatly complete with =false appended.
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 39b9b63e36
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-03-30 22:51:55 -07:00
Harald Albers
474631498c
bash completion for docker {run,create} --security-opt no-new-privileges
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit e96d086afd
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-03-30 22:51:55 -07:00
Harald Albers
08ccfd36e1
fix bash completion for docker run --security-opt
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 020998e24c
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-03-30 22:51:55 -07:00
Steve Durrheimer
c3b3f8201a
Add zsh completion for 'docker {create,run} --userns'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit 39d7ff233b
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-03-30 22:51:55 -07:00
Harald Albers
81a3a72727
bash completion for docker {run,create} --userns
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 62475684b9
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-03-30 22:51:55 -07:00
Steve Durrheimer
70c594508f
Add zsh completion for 'docker daemon --containerd'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit 63b29eda68
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-03-30 22:51:55 -07:00
Harald Albers
1fa9574e2b
bash completion for docker daemon --containerd
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit aeaba46c2c
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-03-30 22:51:55 -07:00
Steve Durrheimer
4a59dc5a41
Add zsh completion for 'docker {pull,push} --disable-content-trust'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit b0235ffddd
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-03-30 22:51:55 -07:00
Steve Durrheimer
c4b33d5334
Add zsh completion for etwlogs and gcplogs log drivers
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit ca3ff89e56
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-03-30 22:51:55 -07:00
Steve Durrheimer
197d61d01a
Add zsh completion for gelf-compression log driver options
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit ff31f166f2
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-03-30 22:51:55 -07:00
Steve Durrheimer
abe8c11e36
Add zsh completion for 'docker ps --filter' values
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit f3a27a6fac
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-03-30 22:51:55 -07:00
Steve Durrheimer
08d09e7733
Add zsh completion for 'docker update --restart'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit ca2cca0255
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-03-30 22:51:55 -07:00
Steve Durrheimer
e23f622d38
Add zsh completion for journald tag opt
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit 93ffc2d954
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-03-30 22:51:54 -07:00
Steve Durrheimer
73f7f515be
Add zsh completion for 'docker {build, volume create, network create} --label'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit 5bfd29b9fb
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-03-30 22:51:54 -07:00
Harald Albers
501b0c387d
bash completion for labels on build, networks and volumes
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit a2958aa18f
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-03-30 22:51:54 -07:00
Steve Durrheimer
cf1d012fda
Add zsh completion for 'docker load -q --quiet'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit f8009d10bb
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-03-30 22:51:54 -07:00
Steve Durrheimer
ad37aac45b
Add zsh completion for new fluentd log driver options
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit 396ffa2faf
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-03-30 22:51:54 -07:00
Alexander Morozov
f66010ad31
Merge pull request #21659 from calavera/vendor_engine_api_0.3.2
...
Vendor engine-api v0.3.2 in release 1.11.
2016-03-30 13:35:36 -07:00
David Calavera
34fca93daf
Vendor engine-api v0.3.2 in release 1.11.
...
Signed-off-by: David Calavera <david.calavera@gmail.com>
2016-03-30 13:38:17 -04:00
Kenfe-Mickael Laventure
048db1da22
Update the llvm repo to use the debian jessie url
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
(cherry picked from commit 73672c5bd8
)
2016-03-30 13:38:17 -04:00
Tonis Tiigi
e768fc8468
Allow specifying apt mirror in dockerfile
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 8ec8564691
)
2016-03-30 13:38:16 -04:00
Tibor Vass
31755449e1
Merge pull request #21518 from tiborvass/cherrypicks-1.11.0-rc2
...
Cherrypicks 1.11.0 rc2
2016-03-25 15:09:41 -04:00
Sebastiaan van Stijn
fef9c5b432
Merge pull request #21521 from kencochrane/add_better_unsupported_message_bump
...
[bump_v1.11.0] Added a better message for when we build an unsupported version
2016-03-25 11:13:42 -07:00