Commit Graph

3094 Commits

Author SHA1 Message Date
Jess Valarezo
18c4322bb3 Labels are consistently validated across services
* The combined size of a key/value pair cannot exceed 4096 bytes

Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com>
2017-09-21 15:11:46 -07:00
Stephen J Day
04ed74f4b1
README, design: update architecture diagram
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-09-21 15:07:28 -07:00
Michael Crosby
3273315267 Merge pull request #1541 from stevvooe/update-releases
RELEASES: update component table
2017-09-21 16:27:54 -04:00
Stephen J Day
c381a9e46d
RELEASES: update component table
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-09-21 13:18:55 -07:00
Derek McGowan
90d74528ed Merge pull request #1540 from estesp/revert-temp-image-ref
Revert temp image reference change/fix WithCheckpoint()
2017-09-21 13:06:59 -07:00
Phil Estes
2146feec26 Merge pull request #1534 from crosbymichael/metricsv1
Add v1 to metrics API endpoint
2017-09-21 15:48:14 -04:00
Phil Estes
e2f3e310c3
Make WithCheckpoint() work with manifest list images
Simple change to allow checkpoint image references to be manifest list
images.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2017-09-21 15:26:21 -04:00
Phil Estes
cadee0374b
Revert "Merge pull request #1502 from crosbymichael/test-image"
This reverts commit 558b46f26e, reversing
changes made to 0e616f4d7a.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2017-09-21 15:25:34 -04:00
Michael Crosby
d67763d922 Add wait API endpoint for waiting on process exit
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-09-21 15:03:58 -04:00
Phil Estes
2f5dda6229 Merge pull request #1536 from stevvooe/foreign-layers
images, remotes: add support for foreign layers
2017-09-21 10:05:08 -04:00
Michael Crosby
26329b2b8d Merge pull request #1535 from dmcgowan/fix-pull-multi-arch
Add platform filtering on children handler
2017-09-21 09:45:26 -04:00
Stephen J Day
13771fba83
images, remotes: add support for foreign layers
Add support for downloading layers with external URLs and
foreign/non-distributable mediatypes. This ensures that encountered
windows images are downloaded correctly. We still need to filter out the
extra windows resources when pulling linux, but this is a step towards
correctly supporting multi-platform images.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-09-20 17:06:13 -07:00
Derek McGowan
eef47ffad3
Add platform filtering on children handler
Fixes pulling of multi-arch images by limiting the expansion
of the index by filtering to the current default platform.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-09-20 15:18:18 -07:00
Michael Crosby
f23edd3cc0 Add v1 to metrics API endpoint
Fixes #1399

This versions the prometheus metrics API so we can manage backwards
incompatible changes in the future more easily.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-09-20 16:24:30 -04:00
Phil Estes
9934acb271 Merge pull request #1532 from mikebrow/seccomp-default-proc-fix
fixes missing default permission
2017-09-20 15:32:36 -04:00
Phil Estes
ef5f2025aa Merge pull request #1533 from stevvooe/specifier-default
platforms: provide simpler function for common use
2017-09-20 15:15:12 -04:00
Stephen J Day
9163377123
platforms: provide simpler function for common use
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-09-20 11:56:59 -07:00
Kenfe-Mickaël Laventure
78c4e5501c Merge pull request #1529 from crosbymichael/console
Close epoller on task delete
2017-09-20 11:24:52 -07:00
Mike Brown
120bb4cd47 fixes missing default permission
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2017-09-20 13:15:39 -05:00
Michael Crosby
7030a4add0 Close epoller on task stop
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-09-20 11:29:13 -04:00
Michael Crosby
781ce658c8 Update console dep to b28c739c79ce69d017e3691ad366
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-09-20 11:16:56 -04:00
Michael Crosby
d700a9c35b Merge pull request #1500 from crosbymichael/typeurl
Use external typeurl package
2017-09-19 11:03:52 -04:00
Michael Crosby
d22160c28e Vendor typeurl package
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-09-19 09:43:55 -04:00
Michael Crosby
929283a3ab Remove typeurl package from repo
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-09-19 09:43:31 -04:00
Michael Crosby
f41871be9d Merge pull request #1515 from dmcgowan/add-akihiro
Add Akihiro as maintainer
2017-09-18 15:38:04 -04:00
Kenfe-Mickaël Laventure
0cb2c961b2 Merge pull request #1519 from crosbymichael/contrib
Add readme to contib
2017-09-18 10:50:46 -07:00
Michael Crosby
58015abbd5 Add readme to contib
Closes #1442

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-09-18 11:47:27 -04:00
Kenfe-Mickaël Laventure
e517952bc7 Merge pull request #1378 from cpuguy83/container_store_extra_data
Add `Container` field to store client-defined data
2017-09-18 07:32:07 -07:00
Michael Crosby
59384ffdb0 Merge pull request #1522 from qingyunha/master
README.md: correct headers level
2017-09-18 10:06:28 -04:00
Tao Qingyun
e1ce48d5d2 README.md: correct headers level
Signed-off-by: Tao Qingyun <845767657@qq.com>
2017-09-17 07:24:25 +08:00
Phil Estes
b6a0fb137e Merge pull request #1518 from crosbymichael/security
Update security reporting text
2017-09-15 08:49:27 -07:00
Phil Estes
8ac9743414 Merge pull request #1510 from crosbymichael/signals
Handle signals first on boot
2017-09-15 08:48:21 -07:00
Michael Crosby
2e830e0dc0 Update security reporting text
Closes #1441

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-09-15 11:32:14 -04:00
Michael Crosby
72f380af45 Merge pull request #1517 from mlaventure/remove-toml-omitempty
Remove omitempty from toml tags
2017-09-15 11:30:01 -04:00
Michael Crosby
4bfe3a9998 Merge pull request #1516 from tklauser/fix-cstring-leaks
mount: fix CString memory leaks
2017-09-15 10:06:20 -04:00
Michael Crosby
7fdf8cd31e Handle signals first on boot
This handles signals first thing on boot so that plugins are able to
boot with the reaper enabled.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-09-15 10:00:19 -04:00
Tobias Klauser
4a582405b9 mount: fix CString memory leaks
Make sure to call C.free on C strings allocated using C.CString.

C.CString allocates memory in the C heap using malloc. It is the callers
responsibility to free them. See
https://golang.org/cmd/cgo/#hdr-Go_references_to_C for details.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2017-09-15 10:55:53 +02:00
Derek McGowan
3596ec53ab
Add Akihiro as maintainer
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-09-14 23:57:36 -07:00
Kenfe-Mickael Laventure
f2d1459929
Remove omitempty from toml tags
The encoder only support changing the name of the key.

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-09-14 20:49:22 -07:00
Kenfe-Mickaël Laventure
cf1d4223be Merge pull request #1511 from crosbymichael/solaris
Remove solaris from travis
2017-09-14 15:23:05 -07:00
Michael Crosby
6d440dc223 Remove solaris from travis
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-09-14 16:29:00 -04:00
Kenfe-Mickaël Laventure
63654f911f Merge pull request #1509 from crosbymichael/ns-event
Set ctx ns before publish
2017-09-14 12:34:03 -07:00
Phil Estes
d1e11f17ec Merge pull request #1465 from AkihiroSuda/gcr
remotes/docker: add scope (registry:foo/bar:pull)
2017-09-14 11:22:26 -07:00
Michael Crosby
14c36cca60 Set ctx ns before publish
Fixes #1497

This sets the namespace on the context when deleting a namespace so that
the publish event does not fail.  Use the same namespace as you are
deleting for the context.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-09-14 13:54:57 -04:00
Michael Crosby
9f28040426 Merge pull request #1506 from dmcgowan/unpack-manifest-list
Support for multi-arch image unpacking
2017-09-14 13:13:33 -04:00
Derek McGowan
46ded63f2d
Support for multi-arch image unpacking
Resolves the platform on multi-arch manifests during unpack and config resolving.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-09-14 09:32:37 -07:00
Michael Crosby
cc75a112d7 Merge pull request #1484 from yanxuean/loadconfig
Improve server.LoadConfig function
2017-09-14 11:10:32 -04:00
Derek McGowan
49437711c3 Merge pull request #1504 from stevvooe/resolve-platforms
cmd/ctr: show resolved image platform
2017-09-13 15:47:53 -07:00
Kenfe-Mickaël Laventure
0f6d1d21b2 Merge pull request #1501 from crosbymichael/trap-err
Trap close error on shutdown
2017-09-13 14:04:32 -07:00
Kenfe-Mickaël Laventure
bcfdbb13ee Merge pull request #1503 from crosbymichael/update-runc
Update runc to 593914b8bd5448a93f7c3e4902a03408b6d
2017-09-13 14:03:24 -07:00