Skip to content
containerd 1.2.1

Welcome to the v1.2.1 release of containerd!

The first patch release for `containerd` 1.2 includes several
runtime and CRI fixes.

## Runtime
* Fix race in process state when pausing containers
* Optimize runtime v1 shim locking
* Fix hang processing events
* Increase event buffer size
* Fix broken pipe causing shim hang
* Update runc

## CRI
* Remove auth config logs
* Fix NetNS cache state
* Fix a bug that containers sharing pod pid namespace can't be stopped
* Remove host pid usage to work better with katacontainer

## Service
* Ignore modprobe failures in systemd ExecStartPre

Please try out the release binaries and report any issues at
https://github.com/containerd/containerd/issues.

### Contributors

* Lantao Liu
* Derek McGowan
* Michael Crosby
* Phil Estes
* Lifubang
* Sebastiaan van Stijn
* Ace-Tang
* Akihiro Suda
* Justin Terry
* Mike Brown
* Wei Fu

### Changes

* [`9b32062dc1`](https://github.com/containerd/containerd/commit/9b32062dc1f5a7c2564315c269b5059754f12b9d) Merge pull request  [#2852](https://github.com/containerd/containerd/pull/2852) from dmcgowan/prepare-1.2.1
* [`51134077d1`](https://github.com/containerd/containerd/commit/51134077d17b396797b92806cb5beee38c89d387) Update version to 1.2.1
* [`dcc47dddd1`](https://github.com/containerd/containerd/commit/dcc47dddd197db803dc047c939a379a0d5ce5f8c) Merge pull request  [#2861](https://github.com/containerd/containerd/pull/2861) from dmcgowan/cherrypick-1.2-2857
* [`4c327b8e56`](https://github.com/containerd/containerd/commit/4c327b8e5628d7f296b4a6db8ca8da8c7a4dd367) Update runc to 96ec2177ae841256168fcf76954f7177af
* [`b65a1137f4`](https://github.com/containerd/containerd/commit/b65a1137f420e3c0f31186ba8104eab0f98c5dce) Merge pull request  [#2860](https://github.com/containerd/containerd/pull/2860) from Random-Liu/update-cri-release-1.2
* [`18e453e4fd`](https://github.com/containerd/containerd/commit/18e453e4fde2d75f87ea2ebeec421789250ae7a5) Update release note.
* [`586807a80c`](https://github.com/containerd/containerd/commit/586807a80cabe306a53baf2f496b43d4a5f4aaba) Update cri plugin to 0ca1e3c2b73b5c38e72f29bb76338d0078b23d6c.
* [`4b284fa3ab`](https://github.com/containerd/containerd/commit/4b284fa3ab61832b022ba428055f793a75ffc251) Merge pull request  [#2856](https://github.com/containerd/containerd/pull/2856) from Random-Liu/cherrypick-#2854-release-1.2
* [`b413e843ad`](https://github.com/containerd/containerd/commit/b413e843ad484fdc64a600982555f7f374fc07ac) Kill should still work in stopped state.
* [`a06cddc2ed`](https://github.com/containerd/containerd/commit/a06cddc2edcffa2e6a01990ef44f597e47916872) Merge pull request  [#2845](https://github.com/containerd/containerd/pull/2845) from nnttmm/backport_2826
* [`176a56216c`](https://github.com/containerd/containerd/commit/176a56216cfea4b6d0f3ddc0dd59db8eb7716cc9) Merge pull request  [#2842](https://github.com/containerd/containerd/pull/2842) from thaJeztah/1.2_backport_update_runc_1.0-rc6
* [`8dc87dd8d9`](https://github.com/containerd/containerd/commit/8dc87dd8d99e076b4908ac3109fae3be56cebb0f) Merge pull request  [#2847](https://github.com/containerd/containerd/pull/2847) from thaJeztah/1.2_backport_mask_asound
* [`703786c5c9`](https://github.com/containerd/containerd/commit/703786c5c9fa607a511c1c1a5773d761eb8bb1ae) Add /proc/asound to masked paths
* [`c42c8952b7`](https://github.com/containerd/containerd/commit/c42c8952b708a77b4dcc36a23f39c93638f4e9a8) use state machine management for exec.Pid()
* [`93d5b4b018`](https://github.com/containerd/containerd/commit/93d5b4b0183d08bec1ef20ad86279babca41f26f) Update runc to v1.0.0-rc6
* [`de1f167ab9`](https://github.com/containerd/containerd/commit/de1f167ab96338a9f5c2b17347abf84bdf1dd411) Merge pull request  [#2819](https://github.com/containerd/containerd/pull/2819) from dmcgowan/prepare-1.2.1-rc
* [`27d72ba795`](https://github.com/containerd/containerd/commit/27d72ba795b3fa9cee5af6c30e78ae82819c7add) Update version
* [`e3840cce17`](https://github.com/containerd/containerd/commit/e3840cce17a154bee6e544b44008359ce34506f6) Add 1.2.1 release notes
* [`940c0c06d2`](https://github.com/containerd/containerd/commit/940c0c06d278d62f5829ab914f69141f5f4293d5) Merge pull request  [#2817](https://github.com/containerd/containerd/pull/2817) from Random-Liu/cherrypick-2811-release-1.2
* [`4598ec2111`](https://github.com/containerd/containerd/commit/4598ec211171eadf5aea7096565bba8350386d88) Lock `KillAll`.
* [`e429785ca0`](https://github.com/containerd/containerd/commit/e429785ca09ac3dbbf2097395e0d10a8c1cd782b) Merge pull request  [#2815](https://github.com/containerd/containerd/pull/2815) from thaJeztah/1.2_backport_shimlockwhenstdinclose
* [`9be591e4a6`](https://github.com/containerd/containerd/commit/9be591e4a69f56f2c26614f68935baa7933967c1) Merge pull request  [#2803](https://github.com/containerd/containerd/pull/2803) from crosbymichael/cherry-proc-lock
* [`309973edd9`](https://github.com/containerd/containerd/commit/309973edd9d76870a6b9b369c74f79684c3ba970) Merge pull request  [#2801](https://github.com/containerd/containerd/pull/2801) from crosbymichael/cherry-runc
* [`e4c49d7053`](https://github.com/containerd/containerd/commit/e4c49d7053c0e53681f7ffd2c21932f38bc9df88) Update runc to 10d38b660a77168360df3522881e2dc2be
* [`cd83a4e0ba`](https://github.com/containerd/containerd/commit/cd83a4e0bae33514f9155703a72e8d0bf39cae6d) fix pipe in broken may cause shim lock forever for runtime v1
* [`275f99feb9`](https://github.com/containerd/containerd/commit/275f99feb99668064e0bd23418731eca95465dd0) fix pipe in broken may cause shim lock forever for runtime v2
* [`39cd86348c`](https://github.com/containerd/containerd/commit/39cd86348c38e144a1556b738c5b5c0016d852fc) Merge pull request  [#2795](https://github.com/containerd/containerd/pull/2795) from estesp/cherrypick-optimize-shim-lock
* [`3afc3f149c`](https://github.com/containerd/containerd/commit/3afc3f149cb0a56d2b7f045b28e140657a37efcf) Merge pull request  [#2796](https://github.com/containerd/containerd/pull/2796) from estesp/cherrypick-exit-ch-buffers
* [`f9323ca957`](https://github.com/containerd/containerd/commit/f9323ca957fd07d19fbdefc4e25bfc71f0c0581b) Revert v2 dropped events
* [`4c72befe09`](https://github.com/containerd/containerd/commit/4c72befe097fb5d9e99ede3536c884608d0af474) Fix process locking and state management
* [`14dc3078b9`](https://github.com/containerd/containerd/commit/14dc3078b9786bac6838399b08b0afe7d84645f9) Partially revert the event discard change in #2748.
* [`417d694148`](https://github.com/containerd/containerd/commit/417d6941488d1f5bd83313f12193a5472fb8e8d4) Increase reaper buffer size and non-blocking send
* [`7ef5285b56`](https://github.com/containerd/containerd/commit/7ef5285b563ee43a0c8c88466a203b9c7340ec4b) optimize shim lock in runtime v1
* [`040e73fde1`](https://github.com/containerd/containerd/commit/040e73fde1b10a2d7069edf551845860f4a429b3) Merge pull request  [#2792](https://github.com/containerd/containerd/pull/2792) from estesp/cherrypick-update-hcsshim-vendor
* [`c4a256d342`](https://github.com/containerd/containerd/commit/c4a256d3420bcb545e145d5a36eb8c840b3488f1) Merge pull request  [#2790](https://github.com/containerd/containerd/pull/2790) from estesp/cherrypick-v1v2-runtime-fix
* [`737587653d`](https://github.com/containerd/containerd/commit/737587653d03ff991507258bf5633c3e836d4490) Temp: add appveyor enablement for release/1.2 branch
* [`090e3e98a2`](https://github.com/containerd/containerd/commit/090e3e98a2df562beb215ddf20dae433b2e2baf2) Revendor github.com/Microsoft/hcsshim
* [`046b6c6d00`](https://github.com/containerd/containerd/commit/046b6c6d005923f7147f8c943986794716b79710) enhance: update v1/v2 runtime
* [`7ff9f6815a`](https://github.com/containerd/containerd/commit/7ff9f6815a9a8e07a641c7c3b5c4794ae3376348) Merge pull request  [#2784](https://github.com/containerd/containerd/pull/2784) from Random-Liu/update-cri-release-1.2
* [`54895c0b98`](https://github.com/containerd/containerd/commit/54895c0b98a63514b90ec9665470edfede5a8544) Update cri to 2bb57d27203d82fc79c496aea724aec593b2705a.
* [`cd0ecb78c7`](https://github.com/containerd/containerd/commit/cd0ecb78c79ae301f0c45875345b951400a9c94d) Merge pull request  [#2779](https://github.com/containerd/containerd/pull/2779) from thaJeztah/1.2_backport_ignore_modprobe_failures
* [`c4acd17e70`](https://github.com/containerd/containerd/commit/c4acd17e703a401a0649b102d240adf7a06ff416) Ignore modprobe failures in ExecStartPre (systemd unit)

### Changes from containerd/cri

* [`0ca1e3c2`](https://github.com/containerd/cri/commit/0ca1e3c2b73b5c38e72f29bb76338d0078b23d6c) Merge pull request  [#985](https://github.com/containerd/cri/pull/985) from Random-Liu/cherrypick-#983-release-1.2
* [`88dbb6d6`](https://github.com/containerd/cri/commit/88dbb6d69efedfc60c27f8e9f34e4155d98405de) Update containerd to 4b284fa3ab61832b022ba428055f793a75ffc251.
* [`d58c1893`](https://github.com/containerd/cri/commit/d58c18939638c1db8a0c21961cbfeeeb4cf56a42) Fix kill when shared pid namespace.
* [`8671a278`](https://github.com/containerd/cri/commit/8671a2782079338c6d71bcac3a06cc918451707a) Merge pull request  [#975](https://github.com/containerd/cri/pull/975) from Random-Liu/cherrypick-#973-release-1.2
* [`e2d2a5de`](https://github.com/containerd/cri/commit/e2d2a5de0bf475f2d816586a2d3ba7e9e6e091a4) Use the `ID` field of `TaskExit` event.
* [`2bb57d27`](https://github.com/containerd/cri/commit/2bb57d27203d82fc79c496aea724aec593b2705a) Merge pull request  [#966](https://github.com/containerd/cri/pull/966) from Random-Liu/cherrypick-#959-release-1.2
* [`c4773dd5`](https://github.com/containerd/cri/commit/c4773dd527a4e93bc173ee13b3bad53bbc343016) Use commit as version.
* [`9b67975b`](https://github.com/containerd/cri/commit/9b67975be8c2ca999f0bd676c1eca5f4233c4473) Merge pull request  [#962](https://github.com/containerd/cri/pull/962) from mikebrow/cherry-pick-remove-authconfig-from-log
* [`c064d480`](https://github.com/containerd/cri/commit/c064d480438ac2e7b66be0f04081dc8b5face761) removes authconfig from info log
* [`a72707ca`](https://github.com/containerd/cri/commit/a72707ca9549077bc1063e8d1b59b0b48daa31ad) Merge pull request  [#958](https://github.com/containerd/cri/pull/958) from Random-Liu/cherrypick-#950-release-1.2
* [`6881f449`](https://github.com/containerd/cri/commit/6881f44995a5a5ad84370cf87b46e2577096b5b4) Update integration test.
* [`6681eb15`](https://github.com/containerd/cri/commit/6681eb154b0f4623b5ebbd93a52b8483d5a7b3ca) Manage mount lifecycle and remove cached state

### Dependency Changes

Previous release can be found at [v1.2.0](https://github.com/containerd/containerd/releases/tag/v1.2.0)

* **github.com/Microsoft/hcsshim**    v0.7.12 -> v0.8.1
* **github.com/containerd/cri**       f913714917d2456d7e65a0be84962b1ce8acb487 -> 0ca1e3c2b73b5c38e72f29bb76338d0078b23d6c
* **github.com/opencontainers/runc**  58592df56734acf62e574865fe40b9e53e967910 -> 96ec2177ae841256168fcf76954f7177af9446eb