Tags: subfuzion/containerd
Tags
containerd 1.0.2 Welcome to the v1.0.2 release of containerd! This is the second patch release for `containerd` in the 1.0 series. There are several fixes to reduce memory usage and garbage collection pressure in the shim. The content store has a few fixes to address cases where download resumption wasn't working properly. The image store has fixes to be more efficient and to handle edge cases in the garbage collector. Less CPU will be used when collecting cgroup metrics. The most critical fix addresses a hang in runc that can happen due to a race condition around FIFOs. Make sure to update your runc binary if you are affected. The fix is described in opencontainers/runc#1698. Make sure to update to the runc version in https://github.com/containerd/containerd/blob/master/RUNC.md to ensure you are not affected. In addition to the above, a few fixes for handling of layer files have been backported. containerd#2063 addresses an issue where duplicate directory entries can land in a layer diff if both the metadata and a child entry are changed. containerd#2103 where whiteout files for parent directories may be missing and a related diff bug containerd#2127. The license of the dependency `BurntSushi/toml` has been updated to an MIT license. We also now ensure that the vendor directory contents are as expected. Please try out the release binaries and report any issues at https://github.com/containerd/containerd/issues. Contributors * Akihiro Suda * Daniel Nephin * Derek McGowan * Kenfe-Mickaël Laventure * Li Yi * Michael Crosby * Phil Estes * Stephen J Day Changes * cfd0439 Merge pull request containerd#2128 from dmcgowan/release-1.0.2-release-notes * a43eff6 release: prepare 1.0.2 * b99bbe9 Merge pull request containerd#2127 from dmcgowan/cherry-pick-2119 * 84dc165 Ensure rmdir gets set for every directory * a8bf017 Add test for consecutive directory removal * 53aaa89 Merge pull request containerd#2104 from stevvooe/prepare-1.0.2-rc.1 * 7669929 release: prepare 1.0.2-rc.1 * 37a05d4 Merge pull request containerd#2110 from crosbymichael/release-onclose * d1d3fd0 Delete task on dead shim * 04b5f3f Set OnClose shim function * 4d0f40c Update ttrpc to d4528379866b0ce7e9d71f3eb96f0582fc * 6ddb0bd Merge pull request containerd#2103 from dmcgowan/backport-1.0-2095 * bed74e2 Fixes missing whiteout parent directories * 7193749 Merge pull request containerd#2102 from dnephin/fix-vendor-validation * b9640ad Fix vendor.conf now that it is validated * 043828f Fix vendor validation * 5e1c6f6 Add a vendor check to CI * 309d3b3 Remove go install from Makefile * 04c223f Merge pull request containerd#2101 from AkihiroSuda/remove-wtf-1.0 * 4e2e564 vendor: update BurntSushi/toml for MIT license * 96df811 Merge pull request containerd#2087 from crosbymichael/cherry-cgroups * 64f913d Bump cgroups to c0710c9 * 8b098d0 Merge pull request containerd#2074 from stevvooe/prepare-1.0.2-rc.0 * a67e9d2 release: prepare 1.0.2-rc.0 * b17f5b8 Merge pull request containerd#2077 from estesp/cherrypick-ensure-content-unique * 91c3b8b content/testsuite: pass context to hold lease * c910b47 content/testsuite: ensure unique content per test * 29a899b Merge pull request containerd#2072 from dmcgowan/cherry-pick-content-discard * 45e7aa5 Update copy to discard over truncate * d7a0e70 Add resume content test cases * 3e89d82 Merge pull request containerd#2063 from dmcgowan/cherry-pick-2054 * 9016ae9 Merge pull request containerd#2062 from stevvooe/cherry-pick-#2059 * 5c21576 Fix duplicate directories entries on metadata change * af4455b vendor: update go-runc to reduce gc pressure * c10ef55 Merge pull request containerd#2057 from stevvooe/cherry-pick-#2056 * 3f98e5d Merge pull request containerd#2058 from stevvooe/cherry-pick-#2055 * f042dc5 cmd/containerd-shim: aggressive memory reclamation * 8cf32d3 cmd/containerd-shim, reaper: reduce channel allocation * 0f46dd5 Merge pull request containerd#2051 from stevvooe/cherry-pick-#2036 * 367eddb archive, cio, cmd, linux: use buffer pools * a4837f3 Merge pull request containerd#2050 from crosbymichael/bump-runc-r * 852f989 Update runc to 9f9c96235cc97674e935002fc3d78361b69 * 383a6de Merge pull request containerd#2034 from estesp/cherrypick-npe-fix * a03fb1b Fix NPE in dialer * d2179c2 Merge pull request containerd#2018 from dmcgowan/cherry-pick-image-removal-gc * d04746b Update metadata image store to be initialized once * 5a67161 Update namespace empty check to use buckets Dependency Changes Previous release can be found at [v1.0.1](https://github.com/containerd/containerd/releases/tag/v1.0.1) * 29da22c -> c0710c9 **github.com/containerd/cgroups** * d2710463e497617f16f26d1e715a3308609e7982 -> d4528379866b0ce7e9d71f3eb96f0582fc374577 **github.com/stevvooe/ttrpc** * ed1cbe1fc31f5fb2359d3a54b6330d1a097858b7 -> 4f6e87ae043f859a38255247b49c9abc262d002f **github.com/containerd/go-runc** * 7f24b40cc5423969b4554ef04ba0b00e2b4ba010 -> 9f9c96235cc97674e935002fc3d78361b696a69e **github.com/opencontainers/runc** * v0.2.0-21-g9906417 -> a368813c5e648fee92e5f6c30e3944ff9d5e8895 **github.com/BurntSushi/toml**
containerd 1.0.2-rc.1 Welcome to the v1.0.2-rc.1 release of containerd! *This is a pre-release of containerd* This is the second patch release for `containerd` in the 1.0 series. There are several fixes to reduce memory usage and garbage collection pressure in the shim. The content store has a few fixes to address cases where download resumption wasn't working properly. The image store has fixes to be more efficient and to handle edge cases in the garbage collector. Less CPU will be used when collecting cgroup metrics. The most critical fix addresses a hang in runc that can happen due to a race condition around FIFOs. Make sure to update your runc binary if you are affected. The fix is described in opencontainers/runc#1698. Make sure to update to the runc version in https://github.com/containerd/containerd/blob/master/RUNC.md to ensure you are not affected. In addition to the above, a few fixes for handling of layer files have been backported. containerd#2063 addresses an issue where duplicate directory entries can land in a layer diff if both the metadata and a child entry are changed. containerd#2103 where whiteout files for parent directories may be missing. The license of the dependency `BurntSushi/toml` has been updated to an MIT license. We also now ensure that the vendor directory contents are as expected. Please try out the release binaries and report any issues at https://github.com/containerd/containerd/issues. Contributors * Akihiro Suda * Daniel Nephin * Derek McGowan * Kenfe-Mickaël Laventure * Li Yi * Michael Crosby * Phil Estes * Stephen Day Changes * 53aaa89 Merge pull request containerd#2104 from stevvooe/prepare-1.0.2-rc.1 * 7669929 release: prepare 1.0.2-rc.1 * 37a05d4 Merge pull request containerd#2110 from crosbymichael/release-onclose * d1d3fd0 Delete task on dead shim * 04b5f3f Set OnClose shim function * 4d0f40c Update ttrpc to d4528379866b0ce7e9d71f3eb96f0582fc * 6ddb0bd Merge pull request containerd#2103 from dmcgowan/backport-1.0-2095 * bed74e2 Fixes missing whiteout parent directories * 7193749 Merge pull request containerd#2102 from dnephin/fix-vendor-validation * b9640ad Fix vendor.conf now that it is validated * 043828f Fix vendor validation * 5e1c6f6 Add a vendor check to CI * 309d3b3 Remove go install from Makefile * 04c223f Merge pull request containerd#2101 from AkihiroSuda/remove-wtf-1.0 * 4e2e564 vendor: update BurntSushi/toml for MIT license * 96df811 Merge pull request containerd#2087 from crosbymichael/cherry-cgroups * 64f913d Bump cgroups to c0710c9 * 8b098d0 Merge pull request containerd#2074 from stevvooe/prepare-1.0.2-rc.0 * a67e9d2 release: prepare 1.0.2-rc.0 * b17f5b8 Merge pull request containerd#2077 from estesp/cherrypick-ensure-content-unique * 91c3b8b content/testsuite: pass context to hold lease * c910b47 content/testsuite: ensure unique content per test * 29a899b Merge pull request containerd#2072 from dmcgowan/cherry-pick-content-discard * 45e7aa5 Update copy to discard over truncate * d7a0e70 Add resume content test cases * 3e89d82 Merge pull request containerd#2063 from dmcgowan/cherry-pick-2054 * 9016ae9 Merge pull request containerd#2062 from stevvooe/cherry-pick-#2059 * 5c21576 Fix duplicate directories entries on metadata change * af4455b vendor: update go-runc to reduce gc pressure * c10ef55 Merge pull request containerd#2057 from stevvooe/cherry-pick-#2056 * 3f98e5d Merge pull request containerd#2058 from stevvooe/cherry-pick-#2055 * f042dc5 cmd/containerd-shim: aggressive memory reclamation * 8cf32d3 cmd/containerd-shim, reaper: reduce channel allocation * 0f46dd5 Merge pull request containerd#2051 from stevvooe/cherry-pick-#2036 * 367eddb archive, cio, cmd, linux: use buffer pools * a4837f3 Merge pull request containerd#2050 from crosbymichael/bump-runc-r * 852f989 Update runc to 9f9c96235cc97674e935002fc3d78361b69 * 383a6de Merge pull request containerd#2034 from estesp/cherrypick-npe-fix * a03fb1b Fix NPE in dialer * d2179c2 Merge pull request containerd#2018 from dmcgowan/cherry-pick-image-removal-gc * d04746b Update metadata image store to be initialized once * 5a67161 Update namespace empty check to use buckets Dependency Changes Previous release can be found at [v1.0.1](https://github.com/containerd/containerd/releases/tag/v1.0.1) * 29da22c -> c0710c9 **github.com/containerd/cgroups** * v0.2.0-21-g9906417 -> a368813c5e648fee92e5f6c30e3944ff9d5e8895 **github.com/BurntSushi/toml** * 7f24b40cc5423969b4554ef04ba0b00e2b4ba010 -> 9f9c96235cc97674e935002fc3d78361b696a69e **github.com/opencontainers/runc** * ed1cbe1fc31f5fb2359d3a54b6330d1a097858b7 -> 4f6e87ae043f859a38255247b49c9abc262d002f **github.com/containerd/go-runc** * d2710463e497617f16f26d1e715a3308609e7982 -> d4528379866b0ce7e9d71f3eb96f0582fc374577 **github.com/stevvooe/ttrpc**
contaierd 1.0.2-rc.0 Welcome to the v1.0.2-rc.0 release of containerd! *This is a pre-release of containerd* This is the second patch release for `containerd` in the 1.0 series. There are several fixes to reduce memory usage and garbage collection pressure in the shim. The content store has a few fixes to address cases where download resumption wasn't working properly. The image store has fixes to be more efficient and to handle edge cases in the garbage collector. The most critical fix addresses a hang in runc that can happen due to a race condition around FIFOs. Make sure to update your runc binary if you are affected. The fix is described in opencontainers/runc#1698. Make sure to update to the runc version in https://github.com/containerd/containerd/blob/master/RUNC.md to ensure you are not affected. In addition to the above, containerd#2063 addresses an issue where duplicate directory entries can land in a layer diff if both the metadata and a child entry are changed. Please try out the release binaries and report any issues at https://github.com/containerd/containerd/issues. Contributors * Akihiro Suda * Derek McGowan * Li Yi * Michael Crosby * Phil Estes * Stephen Day * 8b098d0 Merge pull request containerd#2074 from stevvooe/prepare-1.0.2-rc.0 * a67e9d2 release: prepare 1.0.2-rc.0 * b17f5b8 Merge pull request containerd#2077 from estesp/cherrypick-ensure-content-unique * 91c3b8b content/testsuite: pass context to hold lease * c910b47 content/testsuite: ensure unique content per test * 29a899b Merge pull request containerd#2072 from dmcgowan/cherry-pick-content-discard * 45e7aa5 Update copy to discard over truncate * d7a0e70 Add resume content test cases * 3e89d82 Merge pull request containerd#2063 from dmcgowan/cherry-pick-2054 * 9016ae9 Merge pull request containerd#2062 from stevvooe/cherry-pick-#2059 * 5c21576 Fix duplicate directories entries on metadata change * af4455b vendor: update go-runc to reduce gc pressure * c10ef55 Merge pull request containerd#2057 from stevvooe/cherry-pick-#2056 * 3f98e5d Merge pull request containerd#2058 from stevvooe/cherry-pick-#2055 * f042dc5 cmd/containerd-shim: aggressive memory reclamation * 8cf32d3 cmd/containerd-shim, reaper: reduce channel allocation * 0f46dd5 Merge pull request containerd#2051 from stevvooe/cherry-pick-#2036 * 367eddb archive, cio, cmd, linux: use buffer pools * a4837f3 Merge pull request containerd#2050 from crosbymichael/bump-runc-r * 852f989 Update runc to 9f9c96235cc97674e935002fc3d78361b69 * 383a6de Merge pull request containerd#2034 from estesp/cherrypick-npe-fix * a03fb1b Fix NPE in dialer * d2179c2 Merge pull request containerd#2018 from dmcgowan/cherry-pick-image-removal-gc * d04746b Update metadata image store to be initialized once * 5a67161 Update namespace empty check to use buckets Previous release can be found at [v1.0.1](https://github.com/containerd/containerd/releases/tag/v1.0.1) * 7f24b40cc5423969b4554ef04ba0b00e2b4ba010 -> 9f9c96235cc97674e935002fc3d78361b696a69e **github.com/opencontainers/runc** * ed1cbe1fc31f5fb2359d3a54b6330d1a097858b7 -> 4f6e87ae043f859a38255247b49c9abc262d002f **github.com/containerd/go-runc**
containerd 1.0.1 Welcome to the v1.0.1 release of containerd! This is the first patch release for `containerd` in the 1.0 series. Several bugfixes surrounding tar, image handling, errant log messages and resource management are present. During the release candidate period, issues with layer whiteout files were fixed, in addition to logic adjustements to user resolution in OCI images. Note the daemon no longer shuts down when failing to adjust its own OOM score. Instead, a warning will be issued. Please try out the release binaries and report any issues at https://github.com/containerd/containerd/issues. Contributors * Akihiro Suda * Daniel Nephin * Derek McGowan * Jess Valarezo * Kenfe-Mickaël Laventure * Lantao Liu * Michael Crosby * Phil Estes * Stephen J Day Changes * 9b55aab Merge pull request containerd#2010 from stevvooe/prepare-101 * 9a969ce release: prepare 1.0.1 * dafb45d Merge pull request containerd#2005 from AkihiroSuda/fix-user-1.0 * 2eb4408 oci: simplify WithImageConfig * fc51e56 oci: add TODO comments * 2b04186 oci: fix err variable scope * 51590f2 ctr: promote cOpts over opts, as oci.WithImageConfig requires snapshot * 0a2c2a2 Merge pull request containerd#2003 from dmcgowan/cherry-pick-fix-whiteout-rootpath-1.0 * ce75ddf archive: check whiteout path before removal * 1549dda Merge pull request containerd#1998 from stevvooe/use-correct-version * ec0b96a release: use correct version number * 27cbd2a Merge pull request containerd#1997 from stevvooe/release-1.0.1-rc.0 * 5a09fd3 release: prepare v1.0.1-rc.0 * 4cc882c Merge pull request containerd#1996 from crosbymichael/bp-reaper * 8cfebc0 Merge pull request containerd#1992 from stevvooe/backport-1982 * 4acee3f Remove reaper from containerd daemon * 2d82842 services/tasks, linux: ignore shutdown tasks * fbc6de1 Merge pull request containerd#1984 from stevvooe/backport-1981 * 8b6cbcc vendor: update ttrpc for shutdown fix * 3cb6d73 Merge pull request containerd#1988 from crosbymichael/content-lease * 9e50861 metadata: add content lease on existing content * edc72bb Merge pull request containerd#1980 from dmcgowan/cherry-pick-fix-1723 * 2e3f26f Revert "Emit unmodified change events for directories" * 0f1f8f6 Add parent directories to tar * eeef202 Fix parent directories not included in tar * c59bc7e Merge pull request containerd#1954 from crosbymichael/cherry-diff * 70bc6db rootfs: remove upper snapshot after use * a1a9bda Merge pull request containerd#1933 from crosbymichael/cherry-runc-bump * e643d8e Update runc to 7f24b40cc5423969b4554ef04ba0b00e2 * 49540d69 Merge pull request containerd#1929 from stevvooe/less-noise-build-1.0 * e6798c7 Less verbose build output * 6c7abf7 Merge pull request containerd#1918 from crosbymichael/cherry-pull-fix * 63e1963 Fix image pull after a failure * dba5fa0 Merge pull request containerd#1913 from Random-Liu/cherry-pick-#1907 * de5beee Fix containerd deadlock. * 2689c98 Merge pull request containerd#1909 from estesp/backport-oom-warn-only * e5de8bd server: only warn on failed OOM score adjust Dependency Changes Previous release can be found at [v1.0.0](https://github.com/containerd/containerd/releases/tag/v1.0.0) * 74a17296470088de3805e138d3d87c62e613dfc4 -> 7f24b40cc5423969b4554ef04ba0b00e2b4ba010 **github.com/opencontainers/runc** * 76e68349ad9ab4d03d764c713826d31216715e4f -> d2710463e497617f16f26d1e715a3308609e7982 **github.com/stevvooe/ttrpc**
containerd 1.0.1-rc.0 Welcome to the v1.0.1-rc.0 release of containerd! *This is a pre-release of containerd* This is the first patch release for `containerd` in the 1.0 series. Several bugfixes surrounding tar, image handling, errant log messages and resource management are present. Note the daemon no longer shuts down when failing to adjust its own OOM score. Instead, a warning will be issued. Please try out the release binaries and report any issues at https://github.com/containerd/containerd/issues. Contributors * Daniel Nephin * Derek McGowan * Jess Valarezo * Kenfe-Mickaël Laventure * Lantao Liu * Michael Crosby * Phil Estes * Stephen J Day Changes * 5a09fd3 release: prepare v1.0.1-rc.0 * 4cc882c Merge pull request containerd#1996 from crosbymichael/bp-reaper * 8cfebc0 Merge pull request containerd#1992 from stevvooe/backport-1982 * 4acee3f Remove reaper from containerd daemon * 2d82842 services/tasks, linux: ignore shutdown tasks * fbc6de1 Merge pull request containerd#1984 from stevvooe/backport-1981 * 8b6cbcc vendor: update ttrpc for shutdown fix * 3cb6d73 Merge pull request containerd#1988 from crosbymichael/content-lease * 9e50861 metadata: add content lease on existing content * edc72bb Merge pull request containerd#1980 from dmcgowan/cherry-pick-fix-1723 * 2e3f26f Revert "Emit unmodified change events for directories" * 0f1f8f6 Add parent directories to tar * eeef202 Fix parent directories not included in tar * c59bc7e Merge pull request containerd#1954 from crosbymichael/cherry-diff * 70bc6db rootfs: remove upper snapshot after use * a1a9bda Merge pull request containerd#1933 from crosbymichael/cherry-runc-bump * e643d8e Update runc to 7f24b40cc5423969b4554ef04ba0b00e2 * 49540d69 Merge pull request containerd#1929 from stevvooe/less-noise-build-1.0 * e6798c7 Less verbose build output * 6c7abf7 Merge pull request containerd#1918 from crosbymichael/cherry-pull-fix * 63e1963 Fix image pull after a failure * dba5fa0 Merge pull request containerd#1913 from Random-Liu/cherry-pick-#1907 * de5beee Fix containerd deadlock. * 2689c98 Merge pull request containerd#1909 from estesp/backport-oom-warn-only * e5de8bd server: only warn on failed OOM score adjust Dependency Changes Previous release can be found at [v1.0.0](https://github.com/containerd/containerd/releases/tag/v1.0.0) * 76e68349ad9ab4d03d764c713826d31216715e4f -> d2710463e497617f16f26d1e715a3308609e7982 **github.com/stevvooe/ttrpc** * 74a17296470088de3805e138d3d87c62e613dfc4 -> 7f24b40cc5423969b4554ef04ba0b00e2b4ba010 **github.com/opencontainers/runc**
containerd 1.0.0 Welcome to the v1.0.0 release of containerd! `containerd` provides a daemon for managing running containers. The new containerd is designed for use designed for use in container-based systems, like Docker and Kubernetes. It provides minimal abstractions over the operating system that gets out of the way. A short list of differences from the 0.2 version of containerd follow: - New runtime model based on tasks and containers - Client-defined image push/pull, allows fully replaceable image distribution - End-to-end event system - Snapshot-based container storage system - Content-addressed image storage system - Arbitrary metadata storage for association with containerd objects - Extensive, namespaced [GRPC API](https://github.com/containerd/containerd/tree/master/api/services) - Rich API Client ([getting started](https://github.com/containerd/containerd/blob/master/docs/getting-started.md) and [godoc](https://godoc.org/github.com/containerd/containerd)). You can read about the full details of the project in the [README](https://github.com/containerd/containerd/blob/v1.0.0/README.md). If you would like to try containerd, please download the binaries included on this release. If you are using Docker, you have already been using containerd since Docker 1.11. The next release of Docker, 17.12 CE Edge, will include this version of containerd. If you would like to use it with Kubernetes, a CRI implementation against containerd is available at [cri-containerd](https://github.com/kubernetes-incubator/cri-containerd). The 1.0 release has been reached after 7 alphas, 4 betas, and 1 release candidate full of stability fixes, hardening, and API improvements. If you run into a new problems, please file an [issue](https://github.com/containerd/containerd/issues). The [_support horizon_](https://github.com/containerd/containerd/blob/master/RELEASES.md#support-horizon) for containerd has been updated to include the 1.0 release. With this release, the 0.2 release line is now moved to the "End of Life" state. No new releases on that branch will be made. The 1.0 release train will be considered an active branch with new patches until December 5, 2018 or when 1.1 is released. As part the release of containerd 1.0, the governance model has been updated. The day to day management of the project is taken care of by the maintainers. The roles of chief maintainer and BDFL have been removed and a technical steering committee has been added as an escalation point when consensus cannot be reached among maintainers. See https://github.com/moby/tsc for details. Please try out the release binaries and report any issues at https://github.com/containerd/containerd/issues. Contributors - Michael Crosby - Stephen J Day - Derek McGowan - Kenfe-Mickaël Laventure - Akihiro Suda - Jess Valarezo - Phil Estes - Daniel Nephin - Ian Campbell - Kunal Kushwaha - Lantao Liu - Yanqiang Miao - Samuel Karp - Qiang Huang - Evan Hazlett - Justin Cormack - fate-grand-order - Vincent Batts - Tobias Klauser - Darren Stahl - Brian Goff - yanxuean - Lei Jitang - Arnaud Porterie - Tonis Tiigi - Sunny Gogoi - Antonio Murdaca - Allen Sun - Zhang Wei - yason - Krasi Georgiev - Gábor Lipták - Edward Pilatowicz - Daniel Dao - Volodymyr Burenin - unclejack - Tao Qingyun - Random-Liu - Patrick Chanezon - Mike Brown - kevinetc123 - Federico Padua - Chris Aniszczyk - Alex Ellis - xiekeyang - Samuel Ortiz - Kir Kolyshkin - He Xiaoxi - Gianluca Arbezzano - CuiHaozhi - Christopher Jones - chchliang - Ace-Tang - Aaron.L.Xu - Zachary Adam Kaplan - yuexiao-wang - Wang Long - Victor Vieux - swapdisk - Sebastiaan van Stijn - sakeven - Roy Inganta Ginting - Ross Boucher - Robert Northard - rajasec - Ophir Sneh - Nick Santos - Mathieu Pasquet - Ma Shimiao - Liz Rice - Li Li - Leonids Maslovs - Kevin Swiber - Jovi Zhangwei - John Howard - Jizhong Jiang - Jacob Wen - Fabio Kung - Ed King - David Lyle - Davanum Srinivas - Daniel Zhang - bando-shintaro - Andrew Pennebaker - Alessandro Resta - Akim Demaille - Abhinandan Prativadi Changes since v1.0.0-rc.0 * 89623f2 Merge pull request containerd#1879 from stevvooe/one-point-oh * 4d5c286 release: prepare 1.0.0 * 40c67fd Merge pull request containerd#1880 from AkihiroSuda/refactor-importer * 7e1bc9c Merge pull request containerd#1874 from stevvooe/regexp-quoting-syntax * 2ff2a70 Merge pull request containerd#1878 from jessvalarezo/docs-updates * 4dfcf60 filters: supporting alternative characters for quote * b284da3 docs: update BUILDING and README * 6340197 importer: refactor * a9caf9b Merge pull request containerd#1877 from yanxuean/add-unmount-fail-error * 6a1ef90 Merge pull request containerd#1876 from dmcgowan/fs-include-parent-directories * ba10e497 Emit unmodified change events for directories * 147d498 output error when unmount fail in diff.Apply * b77fa49 Merge pull request containerd#1875 from jessvalarezo/docs-revamp * 2214a07 Merge pull request containerd#1872 from estesp/manifest-list-push * 26012df4 add table of contents to readme * 68d4dfe Merge pull request containerd#1870 from dnephin/fix-error-messages * 9570174 Merge pull request containerd#1871 from dmcgowan/btrfs-usage * 4a662b2 Merge pull request containerd#1873 from jessvalarezo/docs-readme * 350e815 docs: add cio import * 02661c7 Add more descriptive error on manifest list push * 3bc4e69 Implement btrfs usage * 0e03d77 Update snapshot storage error message * 617c63d Merge pull request containerd#1864 from yanxuean/withSnapshotBucket * a6fad51 Merge pull request containerd#1869 from Ace-Tang/cio-docs-fix * cc969fb Merge pull request containerd#1868 from crosbymichael/unmount * a8b543f rmdir tmp dirs for rootfs mounts * b0ca685 Retry unmount on EBUSY and return errors * aca8e15 docs: fix usage of cio package in docs * e427fd6 Merge pull request containerd#1866 from Random-Liu/lock-task-list * 71e42bf Lock task list properly. * db742c9 get wrong parents bucket in withSnapshotBucket * fe4e30c Merge pull request containerd#1859 from dmcgowan/fix-snapshot-logs * 53c892d Merge pull request containerd#1856 from crosbymichael/mountns * 026bf29 Merge pull request containerd#1861 from jessvalarezo/images-err-2 * 9657239 Merge pull request containerd#1860 from stevvooe/ignore-not-found * 41ac9fa update images error * 0925a88 integration: ignore not found error on cleanup * 271836a Merge pull request containerd#1858 from jessvalarezo/images-errors * e289432 Merge pull request containerd#1857 from stevvooe/less-noise * b28d7cd Update snapshot and content related log messages * 8c55085 Merge pull request containerd#1855 from stevvooe/update-ttrpc * fd2e3cd3 Remove mount namespace from shim * 1710fe9 cmd/ctr: move log messages to debug * 2b15951 update image error messages * f6df9f6 Merge pull request containerd#1854 from yanxuean/overlay-prepare-rollback * 4b36430 vendor: update ttrpc to pull in euid change * 222156d Merge pull request containerd#1847 from jessvalarezo/metadata-errors * b873ae8 metadata: update container error messages * bb02302 improve rollback for overlay.prepare * 38fdf9c Merge pull request containerd#1846 from crosbymichael/service * 16a2177 Merge pull request containerd#1852 from yanxuean/error-log * 4f1c0e0 improve error message * c9c36d4 Merge pull request containerd#1849 from stevvooe/unix-socket-credentials * 2d966df cmd/containerd-shim: require unix socket credentials * efe9e28 Merge pull request containerd#1850 from mlaventure/min-kern-version * 9d75920 Fix flexible kernel version * b009642 Add rlimits to service file Dependency Changes Previous release can be found at [v1.0.0-rc.0](https://github.com/containerd/containerd/releases/tag/v1.0.0-rc.0) * 8c92e22ce0c492875ccaac3ab06143a77d8ed0c1 -> 76e68349ad9ab4d03d764c713826d31216715e4f **github.com/stevvooe/ttrpc**
Welcome to the release of containerd v1.0.0-rc.0! *This is a pre-release of containerd* The final 1.0 release stretch has been reached after 7 alphas and 4 betas full of stability fixes, hardening, and API improvements. This release candidate continues that pattern in including stability fixes, usability improvements and performance optimizations. As part of the preparation for supporting the release of Containerd 1.0, the governance model has been updated. The same as in previous versions, the day to day management of the project is taken care of by the maintainers. The roles of chief maintainer and BDFL have been removed and a technical steering committee has been added as an escalation point when consensus cannot be reached among maintainers. See https://github.com/moby/tsc. Please try out the release binaries and report any issues at https://github.com/containerd/containerd/issues. Shim Memory Improvements The shim memory usage has been identified as a key component to optimize. The shim gets run for every container making memory usage multiplied by the number of containers on a machine, requiring lower memory usage in order to increase density. In profiling the memory usage of the shim, it was discovered that the HTTP2 and GRPC stacks were accounting for a majority of the usage. Since the RPC requests to the shim are fairly simple and there is no need for handling many clients, a simpler protocol is now used with much less overhead. In order to avoid changing the client or server code, ttrpc is used to generate code similar to GRPC using the same protocol definitions, but using the lighter weight protocol. This had the effect of drastically reducing the memory usage of the shim. Memory improvements over beta 2... ``` RSS CMD 3644 containerd-shim -namespace default -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/default/test10 -address /run/containerd/containerd.sock -containerd-binary /usr/local/bin/containerd -debug 15320 docker-containerd-shim --namespace moby --workdir /var/lib/docker/containerd/daemon/io.containerd.runtime.v1.linux/moby/ffa219303c1419b179393a1123f176bb4268337432b0ca7945bc7ac66db73cad --address /var/run/docker/containerd/docker-containerd.sock --runtime-root /var/run/docker/ ``` See [ttrpc repository](https://github.com/stevvooe/ttrpc) for implementation. Garbage Collector Improvements Garbage collection is now scheduled by a background process which watches changes and tracks the amount of time garbage collection is taking. It is able to use that information to schedule garbage collection based on configuration options. The default configuration option aims to limit the amount of time the metadata store is locked for garbage collection to 20ms of every second. Additionally image removal now has an option to synchronously cleanup all referenced resources (such as snapshots). This option immediately schedules a garbage collection and waits for it to complete before returning to the client. Since the time to remove a snapshot depends on the size of the snapshot, the time to synchronously remove an image cannot be consistent. For faster and more consistent removals, images should be deleted asynchronously whenever possible. Asynchronous remains the default. Contributors * Akihiro Suda * Daniel Nephin * Daniel, Dao Quang Minh * Darren Stahl * Derek McGowan * Jess Valarezo * Kenfe-Mickaël Laventure * Kir Kolyshkin * Lantao Liu * Michael Crosby * Phil Estes * Stephen J Day * yanxuean Changes * 08f1793 Merge pull request containerd#1848 from dmcgowan/update-version-rc.0 * 30ac46e Update version to v1.0.0-rc.0 * 4bcd272 Merge pull request containerd#1845 from dmcgowan/fix-rc.0-notes * 6952a61 Update previous version to beta not current rc * 7e4be46 Merge pull request containerd#1834 from dmcgowan/v1.0.0-rc.0-notes * 07d4154 Merge pull request containerd#1844 from Random-Liu/close-fifos-on-failure * a03fdab Close FIFOs on failure. * e64d179 Add release notes for v1.0.0-rc.0 * 763d29f Merge pull request containerd#1842 from dmcgowan/fix-snapshot-close-twice * 25b5592 Fix close twice test to retain snapshot * 2657e49 Merge pull request containerd#1835 from stevvooe/we-use-ttrpc * 6c416fa shim: we use ttrpc in the shim now * c357934 Merge pull request containerd#1841 from crosbymichael/parse-uid * a4a4c90 Use strconv.Atoi for uid/gid parsing * 8fbdd5c Merge pull request containerd#1840 from kolyshkin/mkdir-all * acc6f4e MkdirAll: fix usage * 8114d2f Merge pull request containerd#1838 from estesp/mention-kernel-vers * e974099 Merge pull request containerd#1839 from crosbymichael/test-long-exec * a87062e Add runtime requirements section to README * 6bff39c Merge pull request containerd#1837 from crosbymichael/bump-cgroups * 68bec1e Add test for large exec payload * c4b1114 Merge pull request containerd#1831 from stevvooe/update-ttrpc * 4349df4 Update cgroups to 29da22c * 393cf8e vendor: update ttrpc with latest changes * 96ca973 Merge pull request containerd#1797 from jessvalarezo/rename-packages * 04dab2a Merge pull request containerd#1832 from crosbymichael/stress-kill * 1dd6f33 rename snapshot->snapshots proto pkg and service * 9885edf rename snapshot->snapshots pkg * 4363994 Fix stress test tool exec kill * 61c8fe2 ctr: snapshot->snapshots cmd, add aliases * 59bd196 Merge pull request containerd#1830 from stevvooe/define-fieldpath-support-envelope * 16d3aeb Merge pull request containerd#1829 from AkihiroSuda/ctr-envvar-snapshotter * d7c950e events: define fieldpath implement for envelope * a56e742 Merge pull request containerd#1812 from darrenstahlmsft/revendor * d298f9a Merge pull request containerd#1824 from kolyshkin/static-build * 3da99ed Merge pull request containerd#1825 from mlaventure/use-defaults-pkg-everywhere * 7f95b9f ctr: add EnvVar `CONTAINERD_SNAPSHOTTER` for `--snapshotter` * 0d682e2 plugins: don't compile for static build * 6bf779c Use defaults pkg for all platforms * bc9cb25 Update tar to use PAXRecords instead of Xattrs * 16d0087 Add test for prefix header issue * 444e422 Revendor hcsshim and go-tar * 90a6b79 Merge pull request containerd#1810 from dnephin/add-staticcheck-linter * a3955e1 Merge pull request containerd#1822 from crosbymichael/subreaper * 6e9f24b Change default subreaper setting * 967caee Merge pull request containerd#1821 from dnephin/remove-use-of-deprecated-grpc-funcs * dab3ba2 Replace calls to deprecated grpc functions * 118c0a2 Merge pull request containerd#1820 from crosbymichael/shim-lockup * 74b3cb3 Fix exit event handling in shim * 723f37d Add exec support to stress test tool * a05e5fd restore deferred cleanup in rootfs.init * ee04cfa Add staticcheck linter * 2556c59 Merge pull request containerd#1767 from stevvooe/ttrpc-shim * 9e04cff Merge pull request containerd#1814 from stevvooe/panic-client-fix-oci-spec * ca39f76 Merge pull 8000 request containerd#1798 from stevvooe/shim-gomaxprocs * d54961c vendor: add ttrpc as vendored dependency * 372cdfa Merge pull request containerd#1638 from dmcgowan/gc-policy * f011bec Merge pull request containerd#1800 from yanxuean/image-store-redandunt * 0d957b1 oci: allocate process if not already set * 3b670eb remove redundant check for imagestore create * 5764bf1 cmd/containerd-shim: set GOMAXPROCS to 2 * abeb262 Merge pull request containerd#1796 from dnephin/move-oci-pkg * f6e877e Proposed fix for image content store * a21a19a fix windows oci package * cdf62f6 Fix usage of oci in other packages. * 081f8c7 oci package passing tests * 70e0c84 Merge pull request containerd#1809 from Random-Liu/fix-build * 33c95bb Fix build. * a7ade66 Merge pull request containerd#1799 from yanxuean/provide-withLease * 9bf0a15 Merge pull request containerd#1808 from crosbymichael/stress-race * ff6c12b Merge pull request containerd#1803 from dnephin/warn-on-mem-not-supported * 1cb0e81 Fix race in stress test tool * 12e7c76 Merge pull request containerd#1802 from yanxuean/unpack-lease * 153fcfa Merge pull request containerd#1806 from dnephin/fix-ctr-events * 0103d14 Fix ctr events * 8fe12ad Warn if OOM monitoring is not available * 545f247 prevent snapshot from gc when unpack image * 4af5f65 Merge pull request containerd#1793 from dmcgowan/gc-add-container-test * 908df29 Merge pull request containerd#1792 from dmcgowan/schema1-resumeable * d56b49d provide client.WithLease to user * e8f52c3 linux/shim: reduce memory overhead by using ttrpc * 8e09b56 Merge pull request containerd#1795 from crosbymichael/cgroup-lock * e830112 Add lock around task cgroup * 1a6e6a9 Merge pull request containerd#1794 from yanxuean/some-typo * 8130779 some typo * 92d40b9 Add test for container as gc root * bae4782 Document defaults * b674c64 Support unknown size from schema 1 manifests * 2b1c915 Merge pull request containerd#1787 from AkihiroSuda/diff-link * 633f4a6 Merge pull request containerd#1751 from dnephin/add-unused-linters * f74862a Add structcheck, unused, and varcheck linters. * 96e2f30 Merge pull request containerd#1759 from dnephin/single-integration-target * a3aeb39 fs/diff: support symlink to abspath with second-precision mtime * 374f04d Update gc policy configuration to use time duration * 3f1a61f Add synchronous image delete * 72fb8f8 Add gc labels to content tests * 56b6a5d Add root labels to snapshot test suite * 00596f4 Add gc policy plugin * 1bd39d3 Merge pull request containerd#1788 from crosbymichael/plugin * 23dfe54 Add plugin stability guarantees to release.md * 9649a42 Merge pull request containerd#1784 from stevvooe/remove-sync-write * 95cbe81 Merge pull request containerd#1783 from crosbymichael/static-shim * 5113299 content/local: don't open file with sync * 67232e9 Merge pull request containerd#1779 from AkihiroSuda/resolve-util-bin * 434f0e6 Compile shim without cgo for size and mem usage * 7ef4aa5 shim: support non-default binary name * 2fad782 Merge pull request containerd#1782 from dnephin/move-io-pkg * 298dabc Move io.go into cio package * bc063f2 Merge pull request containerd#1778 from stevvooe/weak-imports-on-plugins * 2edc475 Merge pull request containerd#1776 from stevvooe/decouple-events-grpc * a496871 Merge pull request containerd#1777 from jessvalarezo/migrate-client-code * 77cb722 Merge pull request containerd#1775 from dmcgowan/fix-push-different-tags * 50532f2 api: use weak imports for plugin protobufs * 9cb91f8 Merge pull request containerd#1765 from dmcgowan/rm-lease-resources * 2d05c4a events: decouple events package from grpc * 8c5dede client: move content store client to containerd package * aefaeea client: move diff client to containerd package * 8d23e5e client: move image store client to containerd package * 6cd9962 client: move namespaces client to containerd package * 56a35d5 Update docker pusher check tag * 5c6e789 Merge pull request containerd#1769 from stevvooe/split-events-types * 5b64f70 client: move sn 6DAF apshot client to containerd package * 09b5ca1 api/events: split event types from events service * fc149f0 Merge pull request containerd#1770 from crosbymichael/resume * 4192f99 Only compare times on non-windows * 3e5e2ec content/local: consistent handling of data and locks * f4fdb94 vendor: include require package from testify * 682151b remotes/docker: implement seekable http requests * a9308e1 content/local: ensure that resumption is properly supported * 368dc17 testutil: add Size to DumpDir output * 4df7075 Remove integration-parallel target * 05ec01e Fix .gitignore for coverage files * 7d64713 Merge pull request containerd#1768 from stevvooe/consolidate-empty * c5022ad protobuf: use the gogo/types package for empty * cc7e593 Merge pull request containerd#1760 from dnephin/run-unit-tests-on-windows * f49b1b7 Merge pull request containerd#1764 from crosbymichael/exit * 96d2c1e Merge pull request containerd#1766 from dnephin/fix-error-message * 2e7f731 Normalize 'already exists' errors * f3a63f5 Add support for removing leases on resource removal * a72279e Skip some tests on windows where the implementation is missing * fe5bb4a Update platform tests to use the defaultOS * 666d946 Implement diff.compareSysStat on windows * 5025b53 Re-enable unit tests on appveyor * a522a6c Add publish subcommand for publishing events * a542cf7 Merge pull request containerd#1761 from stevvooe/update-protoc * 19168f9 Merge pull request containerd#1754 from AkihiroSuda/fix-snapshot-commit-spec * 571c002 Merge pull request containerd#1755 from AkihiroSuda/fix-ctr-snapshot-args * 343d2d3 Merge pull request containerd#1758 from dnephin/speed-up-unit-test * 7354a7f README, travis: update protobuf compiler version * 5eff92d ctr: fix args * 5e8218a snapshot: fix specification of Commit * d8cf30e Reduce number of blobs in TestWalkBlobs * c78c156 Merge pull request containerd#1728 from AkihiroSuda/snapshot-closable * d15cee0 Merge pull request containerd#1737 from estesp/progress-line-fixup * f435ec0 Merge pull request containerd#1757 from dnephin/fix-coverage * b28e1ee Fix coverage report * 37ee054 Merge pull request containerd#1739 from crosbymichael/shim-redux * 4feb6f2 snapshot: add Close() * f9933e9 Merge pull request containerd#1742 from jessvalarezo/ctr-task-kill * 8376b50 Add grpc methods to errdefs * c81788b Remove errdefs and shimapi types from proc package * 9abde39 Fix lint issues on init process * 33fe5c1 Add debug package for memory reporting * 66a70e7 Refactor runtime initialization * 36e5548 Remove namepsaces and id imports from shim * a7343b0 Move events from shim into linux runtime * 1fe5a25 Move Exec creation to init process * 6e25898 Move shim process code to package * 92ca22c Merge pull request containerd#1735 from estesp/image-rm-feedback * a74148b Merge pull request containerd#1741 from dnephin/fix-task-path-conflict * 1966f9f ctr: update task kill to take exec-id * 680101f Merge pull request containerd#1750 from mlaventure/delete-exec-pidfile * 231c960 containerd-shim: Delete exec pidfile on exit * c2ab556 Merge pull request containerd#1748 from crosbymichael/bdfl * 503b536 Add TSC [Rule] * a906693 Remove chief stuff as well * e36c106 Remove BDFL sections * 732b156 Merge pull request containerd#1745 from AkihiroSuda/remove-lcow-sys-firmware-todo * 79e3b97 spec_unix.go: remove unneeded TODO (moby/moby#35442) * 0876075 Fix output on ctr images rm to show actual feedback * 17093c2 Merge pull request containerd#1718 from jessvalarezo/ctr-task-ps * 0961807 rename runcopts to runctypes * 9E19 807f4d2 expose exec-id on ctr task ps * 49af59b Validate that root and state paths are different. * b4a65de Merge pull request containerd#1740 from stevvooe/update-grpc * 08d1e72 api,linux,windows: update generated protobufs * 3569786 vendor: update protobuf, grpc and gogo * b1527e0 Handle progress line length properly for formatting Breaking Changes * [containerd#1797](https://github.com/containerd/containerd/pulls/1797) The snapshots GRPC service was renamed from snapshot. * [containerd#1767](https://github.com/containerd/containerd/pulls/1767) The shim protocol has changed to use ttrpc. The new protocol does not use http2 and is not compatible with previous shim versions using grpc. Dependency Changes Previous release can be found at [v1.0.0-beta.3](https://github.com/containerd/containerd/releases/tag/v1.0.0-beta.3) * 2e2c51242e8993c50445dab7c03c8e7febddd0cf -> go1.10 **github.com/dmcgowan/go-tar** * d2e1ade2d719b78fe5b061b4c18a9f7111b5bdc8 -> v0.5 **github.com/gogo/protobuf** * 5a0f697c9ed9d68fef0116532c6e05cfeae00e55 -> 1643683e1b54a9e88ad26d98f81400c8c9d9f4f9 **github.com/golang/protobuf** * f7dd103 -> 29da22c **github.com/containerd/cgroups** * v0.6.3 -> v0.6.7 **github.com/Microsoft/hcsshim** * v1.3.0 -> v1.7.2 **google.golang.org/grpc** * 8c92e22ce0c492875ccaac3ab06143a77d8ed0c1 **github.com/stevvooe/ttrpc**
Welcome to the release of containerd v1.0.0-beta.3! *This is a pre-release of containerd* After rounding out the feature set in beta.2, we have taken a number of stability fixes. This release contains mostly bug fixes, code cleanup and improvements to useability of the client and ctr tool. Please try out the release binaries and report any issues at https://github.com/containerd/containerd/issues. `ctr` makeover `ctr` is getting a makeover! The end goal is for commands to be consistent and scoped. Most notably: - `push`, `pull` are now `images` subcommands: `ctr images push`, `ctr images pull` - `fetch`, `fetch-object`, and `push-object` are `content` subcommands - `rootfs unpack` is now `snapshot unpack` - `apply` no longer exists. RIP' Garbage collector improvements The garbage collector continues to improve with this release, including bug fixes on the client causing races and a new lease feature for making retention from the client easier. The lease API was added to make it easier for clients to prevent content and snapshots from being garbage collected while they are being actively worked on (such as from pull, import, or checkpoint). The API includes functions for creating, deleting, and listing leases. The lease gets attached to the context and the backend metadata store sees it and associates newly created content and snapshots with that lease. Leases are currently acquired and released automatically through the client. From the user perspective, fewer `gc.root` labels should be seen on client during pull/import operations or left over after a failed operation. Contributors * Akihiro Suda * Antonio Murdaca * Brian Goff * Daniel Nephin * Daniel, Dao Quang Minh * Derek McGowan * Ian Campbell * Jacob Wen * Jess Valarezo * Kenfe-Mickaël Laventure * Lantao Liu * Michael Crosby * Phil Estes * Sebastiaan van Stijn * Stephen J Day * Tao Qingyun * Victor Vieux * Zhang Wei * bando-shintaro * yanxuean Changes * 2b8ed96 Merge pull request containerd#1705 from stevvooe/beta3 * cb3b960 Add garbage collection release notes * e5912e1 Merge pull request containerd#1734 from vieux/update_images_ls_platforms * 8866254 update notes with ctr changes * 3289ca2 release: prepare 1.0.0-beta.3 * f8a536e Add S to PLATFORM in images & plugins list * 4701e12 Merge pull request containerd#1730 from dmcgowan/fix-usage-deadlock * ad9eca1 Fix deadlock in overlay snapshotter * 59d1c16 Merge pull request containerd#1732 from dmcgowan/fix-userns-tests * b3659d2 Fix not found caused by race to remove snapshot * 27d450a Merge pull request containerd#1690 from dmcgowan/metadata-transactions * 844e957 Merge pull request containerd#1729 from crosbymichael/shim-size * 07885f1 Updates lease creation to respect existing leases * dce27d8 Remove client use of gc root label * e13894b Add leases api * d01fb04 Fix runtime root with no-shim * fc08f01 Fix windows compile for dialer package * bba473a Move shim client into subpackage * 13c7c3e Remove urfave cli dep from shim * a70b95b Move events exchange into subpackage * 526d15b Move dial funcs to dialer pkg * 01cdf33 Merge pull request containerd#1716 from crosbymichael/strip * 2aad5ec Merge pull request containerd#1725 from dmcgowan/diff-parent-permission * 8889d45 Add directory permission tests * 7e398dd Merge pull request containerd#1717 from dnephin/use-gometalinter * 46ac2be Merge pull request containerd#1721 from bandoshintaro/master * 8498de0 Merge pull request containerd#1719 from AkihiroSuda/proc-scsi * 5128f03 Fix docs, log output in getting started * db58988 Add /proc/scsi to masked paths * f9e969b Use gometalinter for linting * ab67fd5 Merge pull request containerd#1715 from thaJeztah/nit-fix-printf * 65d5b8b Align version output and minor code cleanup * a045575 Strip binaries in Makefile * 99595e0 Merge pull request containerd#1714 from dnephin/remove-deadcode-from-release * 393e8cc Remove deadcode from cmd/containerd-release * 5acf187 Merge pull request containerd#1712 from stevvooe/defaults-package * 0a1a134 defaults: add package to contain server defaults * 564600e Merge pull request containerd#1707 from dmcgowan/snapshot-storage-db * 68d3c77 Open snapshot database only once * 7a91c66 Merge pull request containerd#1710 from AkihiroSuda/print-revision * dfdcd4d containerd --version: print version.Revision * c933088 Merge pull request containerd#1663 from dmcgowan/content-local-labels * a7a869f Merge pull request containerd#1703 from estesp/remove-copyright * aa35164 Merge pull request containerd#1704 from jessvalarezo/ctr-move-tasks * 7b08bcd Add support for label storage in local content store * 864b16a ctr: alphabetize commands, rename signals * f654b7b ctr: move pprof to commands package * a827a17 ctr: move shim to commands * c3b70f1 ctr: move tasks, run to commands package * 7d6017a Update LICENSE.docs with proper CC-BY-4.0 text * fe3d9a7 Merge pull request containerd#1702 from estesp/fix-cc-by-lic * 474d4df Merge pull request containerd#1692 from dmcgowan/gc-fix-sweep-race * ff90484 Merge pull request containerd#1668 from jessvalarezo/image-unpack-check * 015788f Fix CC-BY license reference in README.md * 7fd20ed Merge pull request containerd#1701 from stevvooe/backoff-v1-images * 9f5b97c Merge pull request containerd#1698 from crosbymichael/task-ls * 8bbf8d8 Merge pull request containerd#1693 from jessvalarezo/ctr-refactor-fourth-pass * 1552ee2 client: Add helper function which checks if an image is unpacked * 8eee47c remotes/docker/schema1: back off on locked ref * 7a1d709 ctr: remove apply command * 4326702 Fix race in gc sweep * e4da49c ctr: move unpack to snapshot command * 456d3f4 ctr: move push and pull to images command * b58e4fc ctr: move fetch,fetch-object,push-object to content * e2f9fbf Merge pull request containerd#1687 from crosbymichael/pie * 91597bc Move task list to separate command * 58835d2 Merge pull request containerd#1697 from crosbymichael/template * adc502b Add template filepath for release tool * 5fb3a0e Merge pull request containerd#1695 from runcom/abstract-release-tool * fa678a0 cmd: containerd-release: abstract it out to create a new project * b93bd0c Merge pull request containerd#1676 from AkihiroSuda/null-io-fix * e0da28a ctr: error if tty && nullIO * e74c423 Fix races with concurrent GC * 1f704e9 Merge pull request containerd#1688 from crosbymichael/cli * 994c717 Merge pull request containerd#1689 from jessvalarezo/ctr-refactor-third-pass * 16855ee ctr: move resolver to commands package * ffd0d2e ctr: move signals to commands package * b8c4d85 Add buildmode=pie to makefile * 9d05197 Update cli to 7bc6a0acffa589f415f88aca16cc1de5ffd6 * 638f3a3 Merge pull request containerd#1685 from jessvalarezo/ctr-refactor * 8540587 ctr: move events command * fdb6859 ctr: move namespaces command * 750fd89 ctr: move snapshot command * 0895dbe ctr: move content command * f980cc1 ctr: move images command * 47fae4d ctr: move containers command * 8c77d9a Merge pull request containerd#1683 from crosbymichael/ctr-moving * 083b10b Merge pull request containerd#1684 from crosbymichael/lint-final * 1d298c8 Fix windows lint issues and enable ci * 1c533a2 Enable go lint in CI * b6e0c4f Fix go lint errors * ae995bc Move plugins command * 2dac1b6 Move version command into package * 4743f1f Move NewClient and AppContext to commands pkg * 8509569 Merge pull request containerd#1680 from crosbymichael/solaris * 9956fa4 Remove solaris files * 80de000 Merge pull request containerd#1679 from jessvalarezo/ctr-refactor-first-pass * a19a203 ctr: add commands package with shared utility functions * 04659d9 Merge pull request containerd#1675 from crosbymichael/ctr-newclient * 9f76083 Refactor newClient in ctr * edf4114 Merge pull request containerd#1673 from qingyunha/ctr * 313bab3 Merge pull request containerd#1654 from crosbymichael/ctr-daemon * 0813ee4 Merge pull request containerd#1666 from estesp/add-test-stress-info * 6112102 ctr use client's underlying service * 5b6564d Merge pull request containerd#1667 from crosbymichael/more-lint * 230dc74 Merge pull request containerd#1669 from crosbymichael/container-api-tests * 43ec3df Add testing information to BUILDING.md * b937d23 Add additional container test for missing methods * 5fd0415 Add comments and fix common lint issues * 9bd1dc7 Unexport grpc service types * 3679a55 Merge pull request containerd#1665 from crosbymichael/bump-runc * 8feebb7 Bump runc to 74a17296470088de3805e138d3d87c62e613d * 91a33a0 Merge pull request containerd#1664 from qingyunha/issue1607 * f325d51 move the fifo locations /run/containerd * c7dc795 [ctr] add --detach to run * 2e00408 [ctr] Add --null-io to ctr run/start * 992280e Merge pull request containerd#1662 from mlaventure/update-cgroups * 7c9be56 Update containerd/cgroups to f7dd103 * 1752bf5 Merge pull request containerd#1660 from stevvooe/update-security-email * 639d1bd README, RELEASES: update security email * f2ae8a0 Merge pull request containerd#1658 from dmcgowan/gc-content-delete * 923a5c8 Update content store garbage collection * 87596ad Merge pull request containerd#1657 from mlaventure/vendor-go-runc * 90c5355 Vendor go-runc ed1cbe1fc31f5fb2359d3a54b6330d1a097858b7 * 84fa396 Merge pull request containerd#1656 from crosbymichael/rev-name * 21c992a Reverse checkpoint url * 5244d7b Merge pull request containerd#1655 from dmcgowan/skip-user-ns-tests * cbeb0a8 Merge pull request containerd#1652 from crosbymichael/cr-image * efcec36 Skip user namespace tests in kernels which have it disabled * ce57d6d Merge pull request containerd#1634 from crosbymichael/release-build * 5a38644 Merge pull request containerd#1653 from dmcgowan/fix-pull-race * ca63e6d Merge pull request containerd#1645 from cpuguy83/limited_reader * b798d87 Ensure manifests are marked as root during pull * e4c6bf3 Remove default filter from ctr * e833da1 Clear root labels during checkpoint * e201be5 Create checkpointed image in client * a19fd6e Add checkpoint media types to handler * abbec62 cmd/ctr: create an image for checkpoint * 6eb56a2 Use limited reader for some `ReadAll` cases. * 70b5668 Merge pull request containerd#1631 from dmcgowan/cancel-unpack * 3c89aaf Merge pull request containerd#1649 from mlaventure/win-procdetaisl-use-stdtime * 6b9edd0 Merge pull request containerd#1640 from Random-Liu/fix-image-pull-race * 2cdb395 Merge pull request containerd#1643 from cpuguy83/close_wait_chan * 2056254 Close wait chan after sending status * e7ea7b5 windows: Use stdtime for hcsshimtypes.ProcessDetails.CreatedAt * ef5fe56 Merge pull request containerd#1641 from WeiZhang555/fix-progress-bar * 79dad0a Merge pull request containerd#1650 from dmcgowan/fix-gc-race * 295cce2 Use single instance of snapshot and content stores * e378196 Add snapshot label command to ctr * d28b8cc Merge pull request containerd#1648 from mlaventure/checkpoint-workdir * 7562047 Merge pull request containerd#1642 from mlaventure/arm-panic * 71f0bb3 linux: Pass correct path to runc when doing a checkpoint * d8e4894 linux: Ensure count is 64bits aligned for proper atomic use on 32bits machines * a06abd7 [progress] Fix wrong display of progress bar * 103dd0e Merge pull request containerd#1644 from cpuguy83/unmarshal_error_desc * c1a0775 Build release tar and include hash * 7f4f4b5 Merge pull request containerd#1646 from mlaventure/mlaventure-email * 3c7645a Merge pull request containerd#1647 from yanxuean/typo * d8d1209 a typo in comment of Snapshotter.Update * bdf801b Update @mlaventure e-mail address * 0847ae6 Improve error message for `WithContainerExtension` * 09c2bfa Reduce image pull race. * c66fd83 Merge pull request containerd#1636 from crosbymichael/cgroups * d805f77 Bump cgroups dep to 38a6143 * 91614a5 Merge pull request containerd#1633 from ijc/go1.9 * 71c4ee5 Merge pull request containerd#1629 from dmcgowan/remove-archive-umask * 680bab8 Update docs with go 1.9 requirement. * dcf7ff5 Update apply diff to support context cancellation * e20b371 Remove umask, replace with explicit chmod after create Dependency Changes Previous release can be found at [v1.0.0-beta.2](https://github.com/containerd/containerd/releases/tag/v1.0.0-beta.2) * 8ba6f23b6e36d03666a14bd9421f5e3efcb59aca -> 7bc6a0acffa589f415f88aca16cc1de5ffd66f9c **github.com/urfave/cli** * 0351df1c5a66838d0c392b4ac4cf9450de844e2d -> 74a17296470088de3805e138d3d87c62e613dfc4 **github.com/opencontainers/runc** * 9c238e6 -> f7dd103 **github.com/containerd/cgroups** * 633fd07c086ff591adaa2849278764771d791f6f -> ed1cbe1fc31f5fb2359d3a54b6330d1a097858b7 **github.com/containerd/go-runc**
containerd 1.0.0-beta.2 Welcome to the release of containerd v1.0.0-beta.2! *This is a pre-release of containerd* This release rounds out much of the remaining feature set for the 1.0 release time frame. In addition to a large number of bugfixes and utility additions, services and methods have been added to the GRPC API to meet production use cases. The highlight is garbage collection, along with database migrations, plugin introspection and rich PID listing. Please try out the release binaries and report any issues at https://github.com/containerd/containerd/issues. Garbage Collection Full garbage collection support for cleaning up content, snapshots and metadata for containerd resources. The implementation is based on well-known concurrent mark and sweep and the approach allows for extensibility in collection policies. The GC is triggered `Container.Delete and Image.Delete. Note that images may need to be re-pulled for proper support. Introspection API The new introspection API allows for querying the state of containerd. The `Plugins` method lists the state and exports of all initialized plugins in use in a containerd instance. ```console $ ctr plugins TYPE ID PLATFORM STATUS io.containerd.content.v1 content - ok io.containerd.metadata.v1 bolt - ok io.containerd.differ.v1 walking linux/amd64 ok io.containerd.grpc.v1 containers - ok io.containerd.grpc.v1 content - ok io.containerd.grpc.v1 diff - ok io.containerd.grpc.v1 events - ok io.containerd.grpc.v1 healthcheck - ok io.containerd.grpc.v1 images - ok io.containerd.grpc.v1 namespaces - ok io.containerd.snapshotter.v1 btrfs linux/amd64 error io.containerd.snapshotter.v1 overlayfs linux/amd64 ok io.containerd.grpc.v1 snapshots - ok io.containerd.monitor.v1 cgroups linux/amd64 ok io.containerd.runtime.v1 linux linux/amd64 ok io.containerd.grpc.v1 tasks - ok io.containerd.grpc.v1 version - ok ``` Rich ListPIDs Listing PIDs through the task service can now provide runtime specific metadata through the API. This is particularly interesting on the windows platform. The following is an example of a Windows container `ps` output: ```console $ ctr tasks ps <container-id> PID INFO 3716 {ImageName:smss.exe CreatedAt:2017-10-10T17:51:45.1552607Z KernelTime_100Ns:156250 MemoryCommitBytes:348160 MemoryWorkingSetPrivateBytes:217088 MemoryWorkingSetSharedBytes:946176 ProcessID:3716 UserTime_100Ns:0} 5404 {ImageName:csrss.exe CreatedAt:2017-10-10T17:51:45.1848844Z KernelTime_100Ns:0 MemoryCommitBytes:606208 MemoryWorkingSetPrivateBytes:339968 MemoryWorkingSetSharedBytes:1560576 ProcessID:5404 UserTime_100Ns:0} 3628 {ImageName:wininit.exe CreatedAt:2017-10-10T17:51:45.1974386Z KernelTime_100Ns:156250 MemoryCommitBytes:983040 MemoryWorkingSetPrivateBytes:610304 MemoryWorkingSetSharedBytes:3448832 ProcessID:3628 UserTime_100Ns:0} 8576 {ImageName:services.exe CreatedAt:2017-10-10T17:51:45.2091635Z KernelTime_100Ns:468750 MemoryCommitBytes:2048000 MemoryWorkingSetPrivateBytes:1437696 MemoryWorkingSetSharedBytes:4182016 ProcessID:8576 UserTime_100Ns:0} 7892 {ImageName:lsass.exe CreatedAt:2017-10-10T17:51:45.2177712Z KernelTime_100Ns:937500 MemoryCommitBytes:2666496 MemoryWorkingSetPrivateBytes:1982464 MemoryWorkingSetSharedBytes:7561216 ProcessID:7892 UserTime_100Ns:312500} 6384 {ImageName:svchost.exe CreatedAt:2017-10-10T17:51:45.3676107Z KernelTime_100Ns:468750 MemoryCommitBytes:1896448 MemoryWorkingSetPrivateBytes:1277952 MemoryWorkingSetSharedBytes:4730880 ProcessID:6384 UserTime_100Ns:156250} 4904 {ImageName:svchost.exe CreatedAt:2017-10-10T17:51:45.5431743Z KernelTime_100Ns:312500 MemoryCommitBytes:1781760 MemoryWorkingSetPrivateBytes:1331200 MemoryWorkingSetSharedBytes:4952064 ProcessID:4904 UserTime_100Ns:0} 2092 {ImageName:svchost.exe CreatedAt:2017-10-10T17:51:45.5838844Z KernelTime_100Ns:156250 MemoryCommitBytes:2486272 MemoryWorkingSetPrivateBytes:2117632 MemoryWorkingSetSharedBytes:5668864 ProcessID:2092 UserTime_100Ns:312500} 6576 {ImageName:svchost.exe CreatedAt:2017-10-10T17:51:45.727607Z KernelTime_100Ns:156250 MemoryCommitBytes:1818624 MemoryWorkingSetPrivateBytes:1417216 MemoryWorkingSetSharedBytes:6684672 ProcessID:6576 UserTime_100Ns:156250} 2412 {ImageName:svchost.exe CreatedAt:2017-10-10T17:51:46.0427889Z KernelTime_100Ns:468750 MemoryCommitBytes:5570560 MemoryWorkingSetPrivateBytes:3915776 MemoryWorkingSetSharedBytes:5963776 ProcessID:2412 UserTime_100Ns:0} 5472 {ImageName:svchost.exe CreatedAt:2017-10-10T17:51:46.0827893Z KernelTime_100Ns:312500 MemoryCommitBytes:2625536 MemoryWorkingSetPrivateBytes:1908736 MemoryWorkingSetSharedBytes:7532544 ProcessID:5472 UserTime_100Ns:312500} 8756 {ImageName:svchost.exe CreatedAt:2017-10-10T17:51:46.1108672Z KernelTime_100Ns:312500 MemoryCommitBytes:1843200 MemoryWorkingSetPrivateBytes:1466368 MemoryWorkingSetSharedBytes:4612096 ProcessID:8756 UserTime_100Ns:0} 1508 {ImageName:svchost.exe CreatedAt:2017-10-10T17:51:46.1522136Z KernelTime_100Ns:2812500 MemoryCommitBytes:4816896 MemoryWorkingSetPrivateBytes:3600384 MemoryWorkingSetSharedBytes:9281536 ProcessID:1508 UserTime_100Ns:468750} 4612 {ImageName:svchost.exe CreatedAt:2017-10-10T17:51:46.2212148Z KernelTime_100Ns:937500 MemoryCommitBytes:3063808 MemoryWorkingSetPrivateBytes:2265088 MemoryWorkingSetSharedBytes:8667136 ProcessID:4612 UserTime_100Ns:156250} 5936 {ImageName:CExecSvc.exe CreatedAt:2017-10-10T17:51:46.2224031Z KernelTime_100Ns:0 MemoryCommitBytes:983040 MemoryWorkingSetPrivateBytes:737280 MemoryWorkingSetSharedBytes:3723264 ProcessID:5936 UserTime_100Ns:0} 4416 {ImageName:cmd.exe CreatedAt:2017-10-10T17:51:46.5943846Z KernelTime_100Ns:0 MemoryCommitBytes:1564672 MemoryWorkingSetPrivateBytes:356352 MemoryWorkingSetSharedBytes:2174976 ProcessID:4416 UserTime_100Ns:0} 8700 {ImageName:powershell.exe CreatedAt:2017-10-10T17:51:46.6120645Z KernelTime_100Ns:2343750 MemoryCommitBytes:24522752 MemoryWorkingSetPrivateBytes:19853312 MemoryWorkingSetSharedBytes:27156480 ProcessID:8700 UserTime_100Ns:10156250} ``` Migrations A lightweight migration framework is now part of containerd. This allows us to safely evolve the schema between releases with the groundwork laid early. As part of this release, a migration will be run to add back references in support of garbage collection. Contributors * Ace-Tang * Akihiro Suda * Akim Demaille * Allen Sun * Daniel, Dao Quang Minh * Derek McGowan * Jess Valarezo * Kenfe-Mickaël Laventure * Lantao Liu * Mathieu Pasquet * Michael Crosby * Phil Estes * Stephen J Day * Tobias Klauser * Yanqiang Miao Changes * a543c93 Merge pull request containerd#1630 from stevvooe/beta2 * 683ed97 release: prepare 1.0.0-beta.2 * 1fe31c7 Merge pull request containerd#1628 from crosbymichael/release-tool * 769d9e1 add release tool to generate releases * 587f252 Merge pull request containerd#1563 from dmcgowan/gc-alpha * 3cc7591 Merge pull request containerd#1627 from jessvalarezo/task-remove-cast * 1e69de1 Remove ProcessInfo cast * b5152f2 Merge pull request containerd#1626 from jessvalarezo/windows-changes * 830e0ea Change hcsshimopts to hcsshimtypes package * ffb03c4 Add checkpoint and userns gc labels * de7b281 Update services to call garbage collection * 17471d5 Metadata garbage collection * 7884707 Add reference labels to snapshots and content * 551579b Merge pull request containerd#1621 from dmcgowan/refactor-diff * 64a96aa Abort newly created references on error * 69e7e7f Add error wrapping for client checkpoint errors * d9db1d1 Refactor differ into separate package * 60960e1 Merge pull request containerd#1597 from stevvooe/introspection-service * 0e72ce5 services/introspection: implement plugin reporting * 4981464 plugin: allow declaring a plugin depends on all others * 8508e82 plugin: refactor plugin system to support initialization reporting * fe52d93 errdefs: use status package for mapping errors * d8bd6b7 plugin: allow querying plugin graph to be re-entrant * 363d692 api/services: define the introspection API * 12c79cc Merge pull request containerd#1604 from jessvalarezo/windows-listpids * 061c719 ListPids returns process ID and other info * 96725a5 Merge pull request containerd#1620 from mlaventure/runc-io-id * c807ba8 Allow setting the uid & gid of the io pipes * 1ea8ac4 Merge pull request containerd#1617 from crosbymichael/2cgroup * d7864eb Use namespace in default cgroup path * 72bb45a Merge pull request containerd#1603 from mlaventure/fix-windows-flaky-tests * cfa8756 windows: Create init process with task * ad52664 windows: Fix a few races * b2e3482 Merge pull request containerd#1584 from miaoyq/fix-mount-lookup-err * d7c4611 Ensure getting the correct mountinfo corresponds to path * a8426ed Merge pull request containerd#1609 from crosbymichael/attach-docs * 6c3f393 Merge pull request containerd#1611 from stevvooe/address-cgroup-merge-conflicty * 77e5f65 metrics/cgroups: handle error on call to cgroup * bbb01ee Add docs around multiple attach * 987fcd1 Merge pull request containerd#1598 from Random-Liu/fix-load-task * 67bbfc5 Merge pull request containerd#1605 from dmcgowan/metadata-db-documentation * e4defbc Add documentation for metadata database * 6f351f0 Merge pull request containerd#1586 from mathieui/postmortem-stats * d92f6ee Allow blocking and non-blocking metrics collection * ed519bb Collect cgroup stats one last time before exit * 8558b98 Merge pull request containerd#1582 from dmcgowan/metadata-db-object * 7f657ce Add database migrations * 28ca8f0 Fix task load. * 7c4bca5 Merge pull request containerd#1600 from AkihiroSuda/defaultspec * d7b0e52 spec: set MaskedPaths and ReadOnlyPaths by default * 72a3a01 Merge pull request containerd#1595 from crosbymichael/container-lock * 28882fd Merge pull request containerd#1589 from mlaventure/shim-no-newns * fa9e9bd Fetch current container info before operations * 8d892a6 Update metadata plugin initialization * 2ab70f2 Add content and snapshot store references * 447a0a9 Add children bucket to back reference snapshots * 56c1b79 Create metadata db object * acba0f5 Merge pull request containerd#1594 from akimd/akim/clean * ec43dc2 Merge pull request containerd#1592 from AkihiroSuda/workdir2 * 26d4c2c Add an option to prevent putting the shim in a new mount namespace * 0ae9d8f Merge pull request containerd#1567 from stevvooe/image-check-function * 8ceeeed style: move definition for consistency * b26e2e7 ctr run: add --cwd * f6d8892 Merge pull request containerd#1583 from stevvooe/image-storage-validation * 698b6d1 metadata: validation and testing of image store * c555df5 images: support checking status of image content * 7c9b0ea Merge pull request containerd#1590 from crosbymichael/container-update * 9e85035 Add container update method * 1c7a042 Merge pull request containerd#1566 from stevvooe/split-children * 6b9aafd Merge pull request containerd#1587 from Ace-Tang/remove_blank_line * 2231de3 Remove a blank line * 8ded4fe Merge pull request containerd#1581 from crosbymichael/lint-2 * 451421b Comment more packages to pass go lint * 33e974c Merge pull request containerd#1577 from crosbymichael/lint-1 * 2416559 Merge pull request containerd#1580 from tklauser/unix-mkdev-major-minor * f43b7ac Update files based on go lint * 579093f Merge pull request containerd#1579 from tklauser/vendor-ansiterm * f01b139 archive: use Mkdev, Major and Minor functions from golang.org/x/sys/unix * 727fd59 ctr: remove SIGUNUSED from signal map * e789135 vendor: update golang.org/x/sys * acc246e Remove stray entry for Azure/go-ansiterm from vendor.conf * ce6859f images: provide separated children function for images * 16bf823 Merge pull request containerd#1570 from AkihiroSuda/oci-runtime-readonly * 27023c7 readonly: pass RW rootfs to runtime, and let the runtime remount it as RO * 70b353d Merge pull request containerd#1551 from mlaventure/client-pull-set-labels * 9f84513 Merge pull request containerd#1571 from allencloud/remove-defaultns-from-Client * fd44a3a remove field defaultns from struct Client * df82159 client: Allow setting image labels on Pull() and Import() * b24acea Merge pull request containerd#1565 from allencloud/fix-potential-panic * 382dafef fix a potential panic when map is nil * cc9f58a Merge pull request containerd#1559 from mlaventure/fix-oor-panic * cee13eb Merge pull request containerd#1557 from crosbymichael/console-bump * cf2c460 Bump runc with console change for ONLCR * d026f81 Merge pull request containerd#1562 from AkihiroSuda/ctr-images-q * ed81189 Update console dep to 84eeaae905fa414d03e07bcd6c8d * 2a64813 ctr: add `ctr images ls --quiet` * af2226c client: Prevent Out-Of-Range panic in task.Metrics() * bd1f89b Merge pull request containerd#1555 from crosbymichael/client-lint * 51b9240 Update client to pass go lint * 1a9d939 Merge pull request containerd#1558 from mlaventure/dialer-quick-fix * 357eff8 Merge pull request containerd#1556 from crosbymichael/tests * c42f56b Move unix specific tidbits into dialer_unix.go * 76a2d1c State adding tests when submitting changes * 76bfff3 Merge pull request containerd#1554 from mlaventure/list-images-filters * 8e44719 Merge pull request containerd#1552 from allencloud/update-docs-and-comments * 4700968 update docs and comments * 8f1dd43 client: Allow specifying filters when listing images Dependency Changes Previous release can be found at [v1.0.0-beta.1](https://github.com/containerd/containerd/releases/tag/v1.0.0-beta.1) * b3c048c028ddd789c6f9510c597f8b9c62f25359 -> 633fd07c086ff591adaa2849278764771d791f6f **github.com/containerd/go-runc** * b28c739c79ce69d017e3691ad3664568d68e95c6 -> 84eeaae905fa414d03e07bcd6c8d3f19e7cf180e **github.com/containerd/console** * 5933ab4 -> 9c238e6 **github.com/containerd/cgroups** * 7ddbeae9ae08c6a06a59597f0c9edbc5ff2444ce -> 314a259e304ff91bd6985da2a7149bbf91237993 **golang.org/x/sys** * 593914b8bd5448a93f7c3e4902a03408b6d5c0ce -> 0351df1c5a66838d0c392b4ac4cf9450de844e2d **github.com/opencontainers/runc**
containerd 1.0.0-beta.1 Welcome to the second beta release of `containerd`. The highlights of this release focus around making integrations much easier. The `Container.Extensions` field allows one to add arbitrary metadata, such as protobufs and json, to a container metadata object. The `Tasks.Wait` rpc makes waiting for containers to exit much simpler in practice. With this release, `containerd` now fully supports pulling multi-platform Docker and OCI images, complete with foreign layer support. Please try out the release binaries and report any issues at https://github.com/containerd/containerd/issues. Upgrading Label validation now requires that the key and value together are under 4096 bytes. If you had labels large than this size, metadata objects may need to be rewritten. The metrics API has been moved from `/metrics` to be versioned under `/v1/metrics` and is now slated to be covered under our release policy. The `Tasks` service now has a `Wait` rpc to make it easier to wait on container processes, eliminating race conditions that were hard to handle with events. Old clients will still work with events, but they will suffer from the problems that this change is meant to solve. Multi-Platform While `containerd` is fairly agnostic to the image format, the release of multi-platform images on Docker Hub caused some issues with the client-side pull support. `containerd` now properly handles multi-platform Docker and OCI images. This includes support for foreign layers. This means that one should be able to pull multi-platform images without issues for Linux and Windows, as well as most architectures. This works even if the platform doesn't support the particular image. Container Extensions A new field, `Container.Extensions`, supports storing integration specific structures directly in `containerd`. This allows drivers like Docker and CRI-containerd to store their own metadata objects in `containerd`. This obviates the need for secondary storage systems and ensures updates follow the same transaction semantics as other parts of `containerd`. At the same time, it also avoids problems with "label bloat" when storing more complex metadata. JSON and protobuf are supported. New Maintainer We want to welcome a new maintainer to `containerd`, Akihiro Suda. The container ecosystem would be as strong as it is today without his tireless efforts. We are excited to have him on board and his presence will ensure that `containerd` will be a strong platform. Contributors We'd like to extend a thanks to the following people who contributed to this release: Akihiro Suda Allen Sun Brian Goff Derek McGowan Ian Campbell Jess Valarezo Kenfe-Mickaël Laventure Kunal Kushwaha Lantao Liu Michael Crosby Mike Brown Phil Estes Roy Inganta Ginting Stephen Day Tao Qingyun Tobias Klauser yanxuean Changes 20c6211 Merge pull request containerd#1550 from stevvooe/beta1 95675f3 release: prepare 1.0.0-beta.1 316ce18 Merge pull request containerd#1549 from estesp/fix-getting-started-examples fe1e00c Fix example using old GenerateSpec function 9a7e776 Merge pull request containerd#1547 from AkihiroSuda/remove-dist-grpc 3a88be3 design: remove distribution GRPC service df896c9 Merge pull request containerd#1528 from jessvalarezo/labels-validate ba53292 Merge pull request containerd#1544 from allencloud/consistent-display-format 94b5aaf Merge pull request containerd#1543 from Random-Liu/fix-container-timestamp 82a68e2 Merge pull request containerd#1542 from stevvooe/update-architecture-diagram d5b027c make command help display consistent 5452112 Fix container CreatedAt and UpdatedAt. 709d34f Merge pull request containerd#1537 from allencloud/add-reponse-body-close c6d5595 add a response body close fe9d6a4 Merge pull request containerd#1525 from crosbymichael/shim-hang 18c4322 Labels are consistently validated across services 04ed74f README, design: update architecture diagram 3273315 Merge pull request containerd#1541 from stevvooe/update-releases c381a9e RELEASES: update component table 90d7452 Merge pull request containerd#1540 from estesp/revert-temp-image-ref 2146fee Merge pull request containerd#1534 from crosbymichael/metricsv1 e2f3e31 Make WithCheckpoint() work with manifest list images cadee03 Revert "Merge pull request containerd#1502 from crosbymichael/test-image" d67763d Add wait API endpoint for waiting on process exit 2f5dda6 Merge pull request containerd#1536 from stevvooe/foreign-layers 26329b2 Merge pull request containerd#1535 from dmcgowan/fix-pull-multi-arch 13771fb images, remotes: add support for foreign layers eef47ff Add platform filtering on children handler f23edd3 Add v1 to metrics API endpoint 9934acb Merge pull request containerd#1532 from mikebrow/seccomp-default-proc-fix ef5f202 Merge pull request containerd#1533 from stevvooe/specifier-default 9163377 platforms: provide simpler function for common use 78c4e55 Merge pull request containerd#1529 from crosbymichael/console 120bb4c fixes missing default permission 7030a4a Close epoller on task stop 781ce65 Update console dep to b28c739c79ce69d017e3691ad366 d700a9c Merge pull request containerd#1500 from crosbymichael/typeurl d22160c Vendor typeurl package 929283a Remove typeurl package from repo f41871b Merge pull request containerd#1515 from dmcgowan/add-akihiro 0cb2c96 Merge pull request containerd#1519 from crosbymichael/contrib 58015ab Add readme to contib e517952 Merge pull request containerd#1378 from cpuguy83/container_store_extra_data 59384ff Merge pull request containerd#1522 from qingyunha/master e1ce48d README.md: correct headers level b6a0fb1 Merge pull request containerd#1518 from crosbymichael/security 8ac9743 Merge pull request containerd#1510 from crosbymichael/signals 2e830e0 Update security reporting text 72f380a Merge pull request containerd#1517 from mlaventure/remove-toml-omitempty 4bfe3a9 Merge pull request containerd#1516 from tklauser/fix-cstring-leaks 7fdf8cd Handle signals first on boot 4a58240 mount: fix CString memory leaks 3596ec5 Add Akihiro as maintainer f2d1459 Remove omitempty from toml tags cf1d422 Merge pull request containerd#1511 from crosbymichael/solaris 6d440dc Remove solaris from travis 63654f9 Merge pull request containerd#1509 from crosbymichael/ns-event d1e11f1 Merge pull request containerd#1465 from AkihiroSuda/gcr 14c36cc Set ctx ns before publish 9f28040 Merge pull request containerd#1506 from dmcgowan/unpack-manifest-list 46ded63 Support for multi-arch image unpacking cc75a11 Merge pull request containerd#1484 from yanxuean/loadconfig 4943771 Merge pull request containerd#1504 from stevvooe/resolve-platforms 0f6d1d2 Merge pull request containerd#1501 from crosbymichael/trap-err bcfdbb1 Merge pull request containerd#1503 from crosbymichael/update-runc ea8adf9 cmd/ctr: show resolved image platform 37d049d Merge pull request containerd#1493 from mikebrow/seccomp-helper 8785f3f Merge pull request containerd#1403 from stevvooe/platform-selectors 775f7ce platforms: update format for platform specifier 77f699c Update runc to 593914b8bd5448a93f7c3e4902a03408b6d 426650f adds seccomp helpers 03b43ac Trap close error on shutdown 558b46f Merge pull request containerd#1502 from crosbymichael/test-image 0e616f4 Merge pull request containerd#1496 from kunalkushwaha/movefile-testcase ca3f16c [tmp] Use amd64 test image 8442e4b Testcase added for Moving files in snapshot layers a2aa4ec Merge pull request containerd#1485 from AkihiroSuda/expose-differ 313cebc Merge pull request containerd#1473 from kunalkushwaha/snapshot-testcases 1310c85 differ: expose newWalkingDiff() for standalone buildkit 39b5f90 Improve server.LoadConfig function f7d31e2 api, metadata: use map type for Container.Extensions 94f6be5 platforms: implement matcher support fb06883 platforms: define selectors for platforms 52fbc5f Merge pull request containerd#1490 from ijc/defalt a791f04 Merge pull request containerd#1489 from crosbymichael/list-state 128aaf6 Correct spelling of default. 3552ce5 Add field to `Container` for client-defined data 951c129 Handle locking and errors for process state 17901fa Merge pull request containerd#1488 from crosbymichael/prom-containers 72bcdb8 Add config for exporting container metrics to prom aa8bd16 Merge pull request containerd#1487 from crosbymichael/guide 9c20795 Add go build and ./main to guide 34a58ce Improve the getting started guide 2cfd7df Merge pull request containerd#1456 from ijc/ctr-list-no-labels 2f08032 remotes/docker: add scope (registry:foo/bar:pull) aaae706 remotes/docker: allow 404 for POST /v2/token b6fb234 Testcase added for deletion of files in lower layer 121d337 Added testcase Removal of intermediate snapshot 94b0d0e ctr: drop labels from `ctr containers` subcommand list
PreviousNext