9506e4a60a
Merge component 'engine' from git@github.com:docker/engine 18.09
2018-09-28 22:16:36 +00:00
23a691f07a
Merge component 'cli' from git@github.com:docker/cli 18.09
2018-09-28 21:52:21 +00:00
ff2d0e0b89
Refine how metadata dir is handled
...
This is a follow up PR to #1381 to address some of the review comments
we didn't get to.
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com >
Upstream-commit: c12e23a4c1
Component: cli
2018-09-28 14:14:13 -07:00
475e03f71a
Merge pull request #62 from thaJeztah/18.09_backport_tweak_error_message
...
[18.09] backport: tweak bind mount errors
Upstream-commit: e44436c31fce06f9ad69cbb325b781be54516d3e
Component: engine
2018-09-28 14:13:41 -07:00
a0bb6d8712
Merge component 'engine' from git@github.com:docker/engine 18.09
2018-09-28 21:03:53 +00:00
fdf9f276f8
use gotest.tools/fs for TestActivateExpiredLicenseDryRun
...
Signed-off-by: Andrew Hsu <andrewhsu@docker.com >
Upstream-commit: a7488d1bcd
Component: cli
2018-09-28 20:50:43 +00:00
cb4c2a9e5e
Expose licensing details before loading
...
Help the user understand which license they're about
to load in case they have multiple licenses they need to
figure out.
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com >
Upstream-commit: 5a97a93ae1
Component: cli
2018-09-28 20:50:43 +00:00
c3605e497b
Vendor bump of licensing lib
...
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com >
Upstream-commit: 41910b6d68
Component: cli
2018-09-28 20:50:43 +00:00
683cfd7a61
Merge pull request #56 from thaJeztah/18.09_backport_more_permissive_daeon_conf_dir
...
[18.09] backport loosen permissions on /etc/docker directory
Upstream-commit: 34b3cf4b0cf6867c81cb370b4e2056e0947ee4fd
Component: engine
2018-09-28 11:42:01 -07:00
530db7f45a
Tweak bind mount errors
...
These messages were enhanced to include the path that was
missing (in df6af282b9048dfedcd7b7a9a89126aca887f4e1), but
also changed the first part of the message.
This change complicates running e2e tests with mixed versions
of the engine.
Looking at the full error message, "mount" is a bit redundant
as well, because the error message already indicates this is
about a "mount";
docker run --rm --mount type=bind,source=/no-such-thing,target=/foo busybox
docker: Error response from daemon: invalid mount config for type "bind": bind mount source path does not exist: /no-such-thing.
Removing the "mount" part from the error message, because
it was redundant, and makes cross-version testing easier :)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 574db7a53782c57554089c9606505af1c108df0b)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
Upstream-commit: b499acc0e834e11882909269238407c65f68f034
Component: engine
2018-09-28 14:35:55 +02:00
f4dc4cdbaa
vendor buildkit to 8f4dff0d16ea91cb43315d5f5aa4b27f4fe4e1f2
...
Signed-off-by: Tibor Vass <tibor@docker.com >
(cherry picked from commit e161a8d1e9e84f50410860d903205e6d2dc86110)
Signed-off-by: Tibor Vass <tibor@docker.com >
Upstream-commit: 67541d5841e645f3408b01f189ec4339df449edc
Component: engine
2018-09-27 22:46:57 +00:00
c299249618
Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 18.09
2018-09-27 05:18:27 +00:00
0f3ea59e24
Merge component 'cli' from git@github.com:docker/cli 18.09
2018-09-27 04:54:08 +00:00
939ed19be8
Merge pull request #1389 from mason-fish/fix-subscription-filter
...
[18.09] fix subscription filter
Upstream-commit: 1a087e87c9
Component: cli
2018-09-26 16:12:41 -07:00
6b7718669e
Fix debian package upgrade scenarios
...
Epoch needs to be included in the Replaces / Breaks sections
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com >
(cherry picked from commit f6a3e274b4892f8f501e1191a73d8b8935a56aa5)
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com >
Upstream-commit: bebe7028c6b41ecee80278cdfc46de1e7704d199
Component: packaging
2018-09-26 22:28:39 +00:00
7253d5a25e
Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 18.09
2018-09-26 20:58:17 +00:00
aaffed2dc6
Merge pull request #242 from seemethere/remove_env_1809
...
[18.09] Remove Environment, not needed anymore
Upstream-commit: dd7701addaba44f3716d8c40e5554f3bf043b0d6
Component: packaging
2018-09-26 13:21:33 -07:00
aa738a9737
Merge component 'engine' from git@github.com:docker/engine 18.09
2018-09-26 19:15:24 +00:00
552a0c76a2
Remove Environment, not needed anymore
...
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com >
(cherry picked from commit 9eac27f0ee2d02355ecdeea243d2607d633c0b0b)
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com >
Upstream-commit: 08dd353c77bb97339a3c8d1b11712cdd6323c436
Component: packaging
2018-09-26 19:00:07 +00:00
adcef4519f
containerd-ctr -> ctr
...
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com >
Upstream-commit: 75906054befc177621bc015ab0802e1fad18c187
Component: packaging
2018-09-26 18:57:16 +00:00
3675feadab
rename binaries to remove docker prefix
...
For static builds.
Signed-off-by: Andrew Hsu <andrewhsu@docker.com >
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com >
Upstream-commit: 43ebdc0845840c13c2f92c7b564ddb56eb38d428
Component: packaging
2018-09-26 18:57:16 +00:00
f864453cb7
Merge component 'cli' from git@github.com:docker/cli 18.09
2018-09-26 16:37:03 +00:00
5e51fc1169
Merge pull request #1394 from thaJeztah/18.09_backport_
...
[18.09] backport fix substitution with non-empty env-var
Upstream-commit: 0b11120060
Component: cli
2018-09-26 15:33:01 +02:00
1be325e42d
Merge pull request #1342 from tonistiigi/1809-fix-os-race
...
[18.09] backport connhelper: fix cmd.Wait() race
Upstream-commit: e57b20642d
Component: cli
2018-09-26 15:30:00 +02:00
35e5a1ade4
Fix substitution with non-empty env-var
...
Due to a typo, substitution would not work if the given
environment-variable was set.
Given the following docker compose file;
```yaml
version: "3.7"
services:
app:
image: nginx:${version:-latest}
```
Deploying a stack with `$version` set would ignore the `$version`
environment variable, and use the default value instead;
```bash
version=alpine docker stack deploy -c docker-compose.yml foobar
Creating network foobar_default
Creating service foobar_app
docker service ls
ID NAME MODE REPLICAS IMAGE PORTS
rskkjxe6sm0w foobar_app replicated 1/1 nginx:latest
```
This patch also fixes "soft default" not detecting empty environment variables,
only non-set environment variables.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit ec3daea021 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
Upstream-commit: b8702b8a9a
Component: cli
2018-09-26 15:20:15 +02:00
3be9a1e274
fix daemon tests that were using wrong containerd socket
...
Signed-off-by: Tibor Vass <tibor@docker.com >
(cherry picked from commit 52b60f705ca3f12df01b0cf1002860b842770c74)
Signed-off-by: Tibor Vass <tibor@docker.com >
Upstream-commit: 6bf8dfc4d89461228031a595d63482b9603c8899
Component: engine
2018-09-25 23:09:25 +00:00
1c28fdbba1
hack/make: remove 'docker-' prefix when copying binaries
...
Signed-off-by: Tibor Vass <tibor@docker.com >
(cherry picked from commit 361412c79eeacf11b07871870e875f9e5bce3ea7)
Signed-off-by: Tibor Vass <tibor@docker.com >
Upstream-commit: e090646d477f2e7d00aba971bcc187f3af7948a3
Component: engine
2018-09-25 23:09:25 +00:00
3632151436
fix subscription filter
...
Signed-off-by: Mason Fish <mason.fish@docker.com >
Upstream-commit: a31b20d7db
Component: cli
2018-09-24 16:56:05 -07:00
b48ad13f28
Remove 'docker-' prefix for containerd and runc binaries
...
This allows to run the daemon in environments that have upstream containerd installed.
Signed-off-by: Tibor Vass <tibor@docker.com >
(cherry picked from commit 34eede0296bce6a9c335cb429f10728ae3f4252d)
Signed-off-by: Tibor Vass <tibor@docker.com >
Upstream-commit: b3bb2aabb8ed5a8af0a9f48fb5aba3f39af38e0d
Component: engine
2018-09-24 22:35:36 +00:00
487b834eb7
Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 18.09
2018-09-24 21:03:05 +00:00
b9e7fd77da
Bump epoch to 5
...
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com >
(cherry picked from commit 024e366bd36799b24a1b8f4666de62208fb7d9a5)
Signed-off-by: Jose Bigio <jose.bigio@docker.com >
Upstream-commit: 6e43dbbc35edc5a9842c8c37654a9d14294682a1
Component: packaging
2018-09-24 10:40:01 -07:00
600e8631b0
Merge component 'engine' from git@github.com:docker/engine 18.09
2018-09-22 08:08:18 +00:00
0ee62c387c
Merge component 'cli' from git@github.com:docker/cli 18.09
2018-09-22 07:42:33 +00:00
42f77ded0c
Merge pull request #51 from thaJeztah/18.09_backport_fix-libcontainerd-startup-error
...
[18.09] backport: Add fail fast path when containerd fails on startup
Upstream-commit: e69efe2ef5d24c3e7a4bd139d34cfa1ff7180869
Component: engine
2018-09-22 00:11:43 -07:00
49102eef76
system/df: allow -v with --format
...
This allows to provide more information for build cache disk usage.
Signed-off-by: Tibor Vass <tibor@docker.com >
(cherry picked from commit a90b99edfc )
Signed-off-by: Tibor Vass <tibor@docker.com >
Upstream-commit: 9de1318e36
Component: cli
2018-09-22 01:33:03 +00:00
47296e79f8
vendor: remove boltdb dependency which is superseded by bbolt
...
This also brings in these PRs from swarmkit:
- https://github.com/docker/swarmkit/pull/2691
- https://github.com/docker/swarmkit/pull/2744
- https://github.com/docker/swarmkit/pull/2732
- https://github.com/docker/swarmkit/pull/2729
- https://github.com/docker/swarmkit/pull/2748
Signed-off-by: Tibor Vass <tibor@docker.com >
Upstream-commit: cce1763d57b5c8fc446b0863517bb5313e7e53be
Component: engine
2018-09-22 01:24:11 +00:00
7799325488
Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 18.09
2018-09-22 01:03:02 +00:00
0fed403b92
Merge component 'cli' from git@github.com:docker/cli 18.09
2018-09-22 00:36:57 +00:00
f3dec68e23
builder: vendor buildkit to 39404586a50d1b9d0fb1c578cf0f4de7bdb7afe5
...
Signed-off-by: Tibor Vass <tibor@docker.com >
(cherry picked from commit d0f00bc1fb2c349ad72ecc2394b8474937de84dd)
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
Upstream-commit: 3d67dd046539f8e04db82ce07ea56f97b832676b
Component: engine
2018-09-21 17:06:25 -07:00
4f76283213
builder: use buildkit's GC for build cache
...
This allows users to configure the buildkit GC.
The following enables the default GC:
```
{
"builder": {
"gc": {
"enabled": true
}
}
}
```
The default GC policy has a simple config:
```
{
"builder": {
"gc": {
"enabled": true,
"defaultKeepStorage": "30GB"
}
}
}
```
A custom GC policy can be used instead by specifying a list of cache prune rules:
```
{
"builder": {
"gc": {
"enabled": true,
"policy": [
{"keepStorage": "512MB", "filter": ["unused-for=1400h"]]},
{"keepStorage": "30GB", "all": true}
]
}
}
}
```
Signed-off-by: Tibor Vass <tibor@docker.com >
(cherry picked from commit 4a776d0ca76c4bdf4399aef8c102361d6c2819eb)
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
Upstream-commit: 73e2f72a7c5bd6d6f8306e0ffe4371e1c3b00a21
Component: engine
2018-09-21 17:06:25 -07:00
dc48089436
add support of registry-mirrors and insecure-registries to buildkit
...
Signed-off-by: Anda Xu <anda.xu@docker.com >
(cherry picked from commit 171d51c861b479af8798fbe7c51906bcecdffea0)
(cherry picked from commit a72752b2f74467333b4ebe21c6c474eb0c2b99e0)
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
Upstream-commit: 2926a45be6b9315d2ddeec27d1193278b6bbae91
Component: engine
2018-09-21 17:06:25 -07:00
b69d4cb4ec
update vendor
...
Signed-off-by: Anda Xu <anda.xu@docker.com >
(cherry picked from commit 308701fac6f716160283ca0868da59aba2ea7eb5)
(cherry picked from commit b48afc216f46c8e786560b807528699012e1627b)
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
Upstream-commit: b73fd4d936864998451cdd37f45694541e43006e
Component: engine
2018-09-21 17:06:25 -07:00
248d11e3f9
daemon/images: removed "found leaked image layer" warning, because it is expected now with buildkit
...
Signed-off-by: Tibor Vass <tibor@docker.com >
(cherry picked from commit 5aa222d0fe5a420dae96be0c04a33308823e0d0f)
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
Upstream-commit: bb2adc4496f2fd1b755fc701dbed5dab33175efd
Component: engine
2018-09-21 17:06:25 -07:00
ff79736ce2
vendor: update bolt to bbolt
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
Upstream-commit: b501aa82d5151b8af73d6670772cc4e8ba94765f
Component: engine
2018-09-21 17:06:25 -07:00
a4444691f3
vendor: add bbolt v1.3.1-etcd.8
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
Upstream-commit: 46a703bb3bfe75e99de2cc457dc0d568a1976a6b
Component: engine
2018-09-21 17:06:25 -07:00
0cc0272882
Merge pull request #1381 from dhiltgen/revamp_18.09
...
[18.09] `docker engine` updates
Upstream-commit: 19e1ab273e
Component: cli
2018-09-21 15:12:54 -07:00
edf7125231
Use image artifacts as daemon and dependencies
...
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com >
(cherry picked from commit 944fa7137c02ec56907b26fccfd3a363cd741890)
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com >
Upstream-commit: 6a66a0b6aee6ad2c9c52da728d1e70ce46fec017
Component: packaging
2018-09-21 22:10:36 +00:00
46a53355c9
Make -dm image based not tag based
...
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com >
(cherry picked from commit 206d61f29d1722ae3e319e22a4c5c88d1baf6e13)
Signed-off-by: Jose Bigio <jose.bigio@docker.com >
Upstream-commit: aea8f6a1db61a0bb0748f3420e125fcc06e8e0a6
Component: packaging
2018-09-21 14:14:28 -07:00
1cc89a01f6
Merge component 'engine' from git@github.com:docker/engine 18.09
2018-09-21 21:04:06 +00:00
a7ed2532ff
Fix vendoring glitch
...
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com >
Upstream-commit: ec1812188f
Component: cli
2018-09-21 13:16:34 -07:00