登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
Gitee AI
NEW
我知道了
查看详情
登录
注册
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
2
Star
2
Fork
0
bison-fork
/
containerd
代码
统计
流水线
服务
Gitee Pages
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
我知道了,不再自动展开
标签
标签名
描述
提交信息
操作
v1.0.0-alpha3
containerd 1.0.0-alpha3 Another released alpha brings us closer to a stable release! This release contains more changes to the event system, cleanup of the process execution model and several bug fixes. Please download the binaries provided and light them on fire. Please report issues through https://github.com/containerd/containerd/issues. Your feedback is extremely important at this stage, so please don't be bashful about letting us know what you think. Upgrading With changes to the `Tasks` service and the `Events` service, it is recommend to full upgrade containerd and any constituent shim processes. Running with previous versions may effect task startup and event distribution from the shim. These changes were done to ensure API consistency. No changes to the `ctr` tool or storage formats should affect compatibility. If there are changes that affecting compatibility that weren't listed here, please file an issue. Process Exec More work has been undertaken to merge the behavior of container tasks and exec processes. The `Task` object no longer exists. The user now interacts with only processes. The main container processes is started through `Start` method, while processes can be added to the container with `Exec`. Event Filters Events now support full filtering. Filters act on events at publish time, per subscriber, allowing a subscriber to receive only relevant events. The same filtering syntax and behavior used on other APIs has been added here except that we autogenerate the available fields using protobuf definitions. The following example will match all events having to do with tasks in the `bb` namespace: ```console $ ctr events 'topic~=/tasks/.+,namespace==bb' ``` Event specific data can even be selected upon. The following example will match *any* event that has a `container_id` field with the value `mycontainer`. ```console $ ctr events 'event.container_id==mycontainer' ``` The above will actually decode event data, if known to containerd, and match regardless of the particular type, allowing this to act on unrelated event types without changing syntax. Events API The `Publish` method no longer takes an `Envelope` message as an argument and a new `Forward` method has been added. While this change seems superficial, it actually has the effect of avoiding a serialization round trip when forwarding events from other backends, such as container shims. This change is not backwards compatible with previous alpha releases. Unmanaged Root Filesystem Container's can now be run without snapshots using the `ctr` tool. If the `--rootfs` flag is provided, the positional argument for image will now be interpreted as a filesystem path. The following is an example: ```console ctr run --rootfs --tty /my/root/fs mycontainer ``` Shim CGroup Container shims may not be started in a specific cgroup with a parameter passed at task creation time. Changes 0fa76584 Merge pull request #1280 from stevvooe/alpha3 916254e4 release: prepare for 1.0.0-alpha3 c8b4e4db Merge pull request #1277 from crosbymichael/tty-block ee2dea2b Merge pull request #1278 from stevvooe/update-oci-spec bf4838eb Shutdown console after process exits 610e1a25 vendor: update OCI image-spec dependency 8b0a0400 Merge pull request #1268 from crosbymichael/exec-state f945cdc7 Update windows locking code d18af869 Update for epoll console handling e827adaf Update windows with exec create/start actions 83b27db9 Check status for stopped processes before wait cd00216f Rename TaskStatus to Status 504033e3 Add Get of task and process state 2974e485 Add no-criu flag for running tests 9f089656 Change Exited/Status to SetExited/ExitStatus a2a34519 Implement Exec + Start for tasks service 63878d14 Add create/start to exec processes in shim 2533bfea Merge pull request #1271 from stevvooe/autogenerate-fieldpaths c857ba2d events: autogenerate fieldpath filters bb7b41ad Merge pull request #1269 from stevvooe/plumb-correct-interfaces 7ed88c1e linux/shim: use events.Publisher interface 92d737f4 Merge pull request #1259 from dqminh/epoll-io 834f55df Merge pull request #1264 from stevvooe/event-filters af2d7f0e events: initial support for filters 4ba6d8e5 Merge pull request #1267 from crosbymichael/bump-runc 2386062c Update runc to e775f0fba3ea329b8b766451c892c41a3d4 ce07fa04 Merge pull request #1263 from crosbymichael/no-shim-events f86d5ae0 Merge pull request #1262 from dmcgowan/more-snapshot-tests 7b6ff6ec event forwarding without shim 8e534658 use epoll to manage console i/o in linux d28126f0 Handle kernel related ci failure a7c44f00 Add snapshot test cases for former issues 20fa6aee Merge pull request #1182 from AkihiroSuda/rootfs 183a6ca8 Merge pull request #1013 from AkihiroSuda/oci-export de2671b7 bump vendor for containerd/console update b518f11d client: add Import() and Export() for importing/exporting image in OCI format 752d253f client, ctr: allow specifying unmanaged rootfs dir 1a054c67 Merge pull request #1134 from crosbymichael/shim-cgroup 4e299a9a Merge pull request #1254 from stevvooe/close-channel 16797276 Merge pull request #1230 from dmcgowan/snapshot-client-testsuite fdea1cea Merge pull request #1256 from dmcgowan/fix-ingest-file-not-exists afe0ce35 Merge pull request #1255 from stevvooe/multi-delete 585f7d64 Skip test on windows ccbb0352 Convert file not exists to status not found 83ac8748 cmd/ctr: allow deleting multiple containers at once a1f75096 events: close channel explicitly 98a86c4d Add ShimCgroup path for placing shim in cgroup d4349eff Merge pull request #1251 from crosbymichael/apparmor a0a5cc77 Add user namespace support to client c3872b84 Move RootPath to fs package da5c72c3 Run snapshot test suite for metadata and client
0fa7658
2017-08-03 07:12
下载
v1.0.0-alpha2
containerd 1.0.0-alpha2 With another week comes another alpha release. With this release, we have focused on increasing overall quality and consistency across the code base. Several new tests have been added, along with attention to refactoring in various subsystems to match current needs. Unfortunately, we had to break some interfaces to achieve these goals. See the section on Upgrading for details. Again, please download the binaries provided and kick the tires. Please report issues through the https://github.com/containerd/containerd/issues. Your feedback is extremely important at this stage, so please don't be bashful about letting us know what you think. Upgrading Some backwards incompatible changes have been made to the GRPC API and the snapshotter storage format. See the sections on Events and Snapshotters for more details. To upgrade, you'll need to clear out the containerd root, which defaults to `/var/lib/containerd/`. All containers, images and metadata will be lost, if you do this. If this is a problem, please reach out and we can work out a migration script. If such a change was done from a production release, a migration script would have been provided. Also, make sure to update your clients to the latest version that picks up the new definition for the events service. This change would not be accepted in a full released version. Events After dealing with a few deadlock issues, the events subsystem has been completely refactored to match the existing use cases. Specifically, a lot of cruft around the original design, based on Go's context package has been removed. The use of go-events has been cleaned up to ensure correct subscription and distribution of events, in addition to ensuring correct teardown. The nomenclature has also been updated to better reflect familiar "publish" and "subscribe" models. If you closely examine #1246, you'll see that the usage of the `Publisher` interface is much simpler than the `WithTopic` approach. This should allow us to add events to more subsystems. The GRPC API for the Events service was updated to bring the service inline with these changes. Post and Stream have been replaced with Publish and Subscribe, respectively. Clients will have to be updated to use the new API endpoints. After these changes, adding proper filter support should be more straightforward. See a615a6fe for details. Snapshotter Previously, snapshots had an attribute `Readonly` that was only valid for `Active` snapshots. After looking at various conditionals, snapshot behavior and usage, we found that these snapshots were better represented as a discrete type, known as a "view snapshot". Unfortunately, we've add to break compatibility with the existing storage format to correctly enumerate the snapshot types. Users will have to remove the old storage and start from the scratch. See 863784f9 for details. Tar Tars with duplicated symlinks in disparate layers are now handled correctly. See afec478b for details. - Windows support - snapshot command now supports "commit" - More testing Windows Support Progress on supporting windows has received a major boost. Windows integration has been refactored to more closely follow existing changes throughout containerd. Commands A new command has been added to `ctr snapshot` to allow committing of active snapshots. The help output has been reordered to be alphabetical. Changes 856b0384 Merge pull request #1253 from stevvooe/alpha2 997a1b5a release: prepare for v1.0.0-alpha2 b84817a2 Merge pull request #1246 from stevvooe/events-refactor 03623285 Merge pull request #1248 from dmcgowan/snapshot-storage-kind-test 366ebfd6 Merge pull request #1249 from dmcgowan/client-rename-with-rootfs c7cc6ad2 Add root mounts to task info 73bec3ed client: rename rootfs to snapshot in "With" functions a615a6fe events: refactor event distribution 6012f504 Update storage kind test 9434bf9e Merge pull request #1236 from stevvooe/snapshot-column-kind 050c7d24 Merge pull request #1247 from darrenstahlmsft/revendorMicrosoft cec6331e Revendor hcsshim and go-winio 1251413a Merge pull request #1245 from dmcgowan/archive-more-tar-fixes afec478b Update tar path resolution 863784f9 snapshot: replace "readonly" with View snapshot type a9ab45fb Merge pull request #1241 from stevvooe/allow-resumable-upload bfe747da Merge pull request #1242 from mlaventure/appveyor-no-coverage-only-master f5bd8bbb Merge pull request #1243 from crosbymichael/reg-diff-urls a3769f88 Panic when registering the same type but diff urls 219c3e39 Disable coverage tests on Windows CI 2eaac710 Only run Windows CI on master branch d0e396aa metadata: defer ingest lock to backend c52523c4 Merge pull request #1238 from crosbymichael/reg-specs f98b2979 Merge pull request #1239 from crosbymichael/roadmap ba577f71 Merge pull request #1227 from tossmilestone/fix-comment-typo becf0015 Replace roadmap with link to milestones b7e0101b Merge pull request #1228 from dmcgowan/content-testsuite 228f7d45 Register spec types in client 8e1591bd Call upload status tests bb3c9c59 Rename content/fs to content/local 938f3185 Add content test suite 44236524 Move content store implementation 9b53b8b6 Merge pull request #1237 from WeiZhang555/remove-hardcoded-str adeec483 Replace hardcoded debug address with const var 856c351f Improve the comment 4118a256 Merge pull request #1234 from dmcgowan/update-logrus 14912932 Update dependencies for logrus rename 1d2a079f update to github.com/sirupsen/logrus v1.0.0 dd7642fc Merge pull request #1196 from mlaventure/update-windows-runtime a2df6d1a Merge pull request #1141 from ijc/rootfsPropagation 0f6959a2 Merge pull request #1160 from darkowlzz/1082-snapshot-commit a6211858 Merge pull request #1179 from AkihiroSuda/makefile-i aeab9355 Fix vet errors eb4e0b5f Add AppVeyor configuration e3fcde69 Fix deadlock in events service 5ea5fbdf Fix deadlock in TestContainerExec if `process.Wait()` fails d4e780d7 Ensure tasks are started when running tests 3df07cbc Cancel io if task is deleted without being started 8e12d1fc ctr: Allow deleting a container in the Created state 4d14bfd8 go-winio: Don't increment the wait count if the file is closing 7f786cf0 go-winio: Prevent Data Race when accessing closing db1b0a2a Update go-winio to v0.4.3 651aaff7 Update integration test to support windows 79d04ded Make integration a bit more verbose b2d9db2e windows: Use runtime event topic constants 5c8e0efb windows: Add servicing code 4bb9ac28 Sort ctr commands alphabetically d0166c42 Register content command with ctr d10c62d4 Wrap typeurl returned errors with the provided url/type 5fd004a1 Update vendoring 546f0451 Update errdefs.ErrInvalidArgument message 674b460d Move typeurl registrations to runtime package a4aaa09c Update ctr so it works again on windows 61fbd231 windows: Refactor whole code fc82e149 windows: Move runtime options out of the spec field acf863a0 windows: Rely on the OCI specs instead of custom type bff040d0 windows: Ensure pids are not reused if active d42cb88b Loop umount'ing rootfs until there are no more mounts d63d2ecf Simplify mount cleanup on failure by using defer 300f0831 Cleanup mounts if we fail to mount one element of rootfs 8b365117 containerd-shim: Do not remount root MS_SLAVE 912ddbae cmd/ctr: add commit command to snapshot b6dbbd33 Fix typo error in Protobuild.toml 7822819f .travis.yml: run go build -i f72e97db Makefile: `go build -i` -> `go build`
856b038
2017-07-27 06:45
下载
v1.0.0-alpha1
containerd 1.0.0-alpha1 We have followed up the initial alpha with this second release. There are a large number of changes to focus on API stability, error handling and several bug fixes. Again, please download the binaries provided and kick the tires. Please report issues through the https://github.com/containerd/containerd/issues. Your feedback is extremely important at this stage, so please don't be bashful about letting us know what you think. Commands Merged The most visible changes to users will be that the `dist` command has now been merged into `ctr`. We've found this to be much easier for demonstration, testing and deployment. For the most part, this change has moved the subcommands untouched under `ctr`. In addition to the command merge, all commands that mutate labels were changed from `set-labels` to the shorter `label`. The `snapshot` command has a few additions to display details in a tree format, as well as some tweaks to expose mounts. See 659e3d78 and 4dc02c09 for details. Since we are discussing command syntax, it is a good time to remind users that cli behavior will not be covered by the 1.0 version guarantees. We will only guarantee behavior of GRPC APIs, although we'll try to keep changes like this minimized. Event Topics The topics for task events have been tweaked to be more consistent. This could effect users that were matching on event topic. Please see a578730a for details. Changes A full list of changes is provided for your convenience: 0b3e572b Merge pull request #1221 from stevvooe/alpha1 6273d79c containerd: prepare for v1.0.0-alpha1 28bb2b35 Merge pull request #1220 from stevvooe/release-target 88656970 Makefile: add release target 28e8d95a Merge pull request #1210 from dmcgowan/use-forked-tar 72c59aeb Merge pull request #1154 from darkowlzz/1082-snapshot-prepare 14e10c87 Merge pull request #1214 from jovizhangwei/fix b5267baa Merge pull request #1216 from tklauser/prctl-x-sys-unix 834cafc2 Merge pull request #1206 from AkihiroSuda/improve-btrfs-error 70dc92f1 Merge pull request #1217 from fate-grand-order/fixed 0600753b Merge pull request #1208 from dmcgowan/tar-test 648f82e4 Merge pull request #1211 from stevvooe/no-build-proto d3d1987f correct some misspellings to make Go Report more happy 4dc02c09 cmd/ctr: add mount subcmd to snapshot & a flag in prepare bfa4b901 Use Prctl() and associated constants from x/sys/unix 50c84c4d Claim Go 1.8.x version requirement in BUILDING.md e76357cb btrfs: improve an error string a8504277 Merge pull request #1209 from stevvooe/remove-errors 23aa4910 Use forked archive/tar package 60792458 Replace uses of filepath.Join in Apply 35d59004 Merge pull request #1207 from mlaventure/update-linux-events-topic 1ecb2ea3 linux/shim: remove redundant topic prefix 8d195132 Merge pull request #1195 from darkowlzz/tree e3a07b56 Makefile: no need to build protos binary 6d0bcd5a linux, linux/shim: remove error definitions 4a3f98cb Add link breakout checks and tests 805654ab Merge pull request #1178 from rajasec/ctr-run-error 728f8acc Fixing return error on run command 123aab86 Merge pull request #1202 from stevvooe/add-go-report-card 59b0fc31 Merge pull request #1204 from fate-grand-order/typo e4beb7c5 Use constants for runtime event topics a578730a Update linux events topic 58dfd56a fix some typos for reference/reference.go 4888d40a Merge pull request #1203 from stevvooe/containerd-startup-version 659e3d78 cmd/ctr: add tree subcommand in snapshot 6cfdbb2a README: add go report card badge 2a923f72 cmd/containerd: show version and revision on startup 6d305c74 Merge pull request #1200 from stevvooe/image-is-found 778b1f1c cmd/ctr: container list should not look up image 52927e59 Merge pull request #1199 from dmcgowan/socket-directory-permissions 528a9d87 Create socket parent directory with correct permissions afd533de Merge pull request #1197 from dmcgowan/fix-snapshot-client-panic fb7af302 Merge pull request #1198 from stevvooe/mark-ociimageconfig-childleess 9f654b08 images: OCI image config is a childless data type a220fb6b Fix panic in snapshotter when connection fails 81b893ac Merge pull request #1194 from AkihiroSuda/nit-comment a0664b5c comment: dist -> ctr e48ef84b Merge pull request #1190 from stevvooe/remove-dist-command 98f6deb5 cmd/dist: completely remove dist command 751598e8 Merge pull request #1189 from stevvooe/move-content-commands 1db80ed9 cmd/{ctr, dist}: move content command to ctr 695351f3 Merge pull request #1188 from stevvooe/move-images-command 1905380a Merge pull request #1187 from stevvooe/use-protobuild f7306d7f cmd/{ctr,dist}: move images command to ctr d50e4bcd Merge pull request #1183 from mlaventure/move-tasklist-to-runtime 6c925924 protobuild: replace protobuild command 31324e54 Merge pull request #1181 from mlaventure/fix-races a5b3038c Fix deadlock when task's exec start fails 9dcf725b Fix data race when task's exec fails to start ae334b04 Prevent a data race in client_test.go on test failure bf679063 Merge pull request #1186 from estesp/update-fifo-racefix 5e594d03 Update containerd/fifo for race fix 56a4023a Merge pull request #1184 from stevvooe/label-commands a8b22549 cmd/{ctr,dist}: label can be a verb 88c1db5c Move taskList to the runtime package
0b3e572
2017-07-20 07:23
下载
v1.0.0-alpha0
containerd 1.0.0-alpha0 We are pushing the first containerd alpha release today. It includes a fully functional execution, content, snapshotting filesystems, and distribution layer. With the alpha release we wanted to make sure the GRPC API was in a good shape for people to start or finish the integrations for the 1.0 branch. Ideally, there will not be any major API changes after this release. We encourage users integrating containerd into their software and platforms to use our Go client, `import "github.com/containerd/containerd"`. We have not finalized this Go API at the time of the alpha release so that users can provide feedback and modifications can be made to the client to reduce code that containerd consumers have to write. During the alpha period, we will be working on integrating containerd into various projects and working out any rough edges or bugs. We will also be tagging a weekly alpha release going forward with fixes and updates during this phase.
8eadcb8
2017-07-13 08:22
下载
v0.2.9
cfb82a8
2017-05-31 00:13
下载
v0.2.8
9048e5e
2017-03-30 05:01
下载
v0.2.6
4ab9917
2017-03-15 22:55
下载
v0.2.7
422e31c
2017-03-15 22:55
下载
v0.2.5
2a5e70c
2016-10-31 22:51
下载
v0.2.4
7186128
2016-09-25 03:45
下载
v0.2.3
973f21f
2016-08-10 23:59
下载
v0.2.2
9dc2b32
2016-05-25 04:54
下载
v0.2.1
ca47f7e
2016-04-22 08:49
下载
v0.2.0
399eca2
2016-04-15 05:28
下载
v0.1.0
7e3c007
2016-03-22 04:01
下载
0.0.5
8c38c93
2016-02-13 07:52
下载
0.0.4
ab9be56
2015-12-16 09:03
下载
0.0.3
585be12
2015-12-10 08:38
下载
0.0.2
72ee22a
2015-12-05 06:17
下载
下载
请输入验证码,防止盗链导致资源被占用
取消
下载
Go
1
https://gitee.com/bison-fork/containerd.git
git@gitee.com:bison-fork/containerd.git
bison-fork
containerd
containerd
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册