Releases: AliyunContainerService/pouch
PouchContainer 1.3.1
What's Changed
- test: add override default mount config test by @Ace-Tang in #2766
- cgroup: make cgroup-parent absolute path by @Ace-Tang in #2784
- support to update memory swap by cri by @wangforthinker in #2781
- feature: add kernel-memory support in cli and ctrd by @allencloud in #2717
- cri: remove v1alpha1 codebase by @fuweid in #2765
- [RFC]refactor: refact the container lock by @HusterWan in #2756
- refactor: change proto fields number by @zhuangqh in #2793
- bugfix: trim specific characters in Kernel version by @HusterWan in #2796
- cri support to update pids limit by annotation by @wangforthinker in #2791
- bugfix: fix error to set volume options by @rudyfly in #2798
- bugfix: remove comment line by @rudyfly in #2799
- fix: ensure there is a non-empty runtime name in sandbox metadata by @zhuangqh in #2792
- docs: auto generate pouch cli/api docs via code by @pouchrobot in #2800
- support to set root dir of container log by @wangforthinker in #2797
- bugfix: fix pouch panic on fatal error: concurrent map read and map write. by @yyb196 in #2806
- fix: allow to stats not-running container by @zhuangqh in #2802
- ctrd: support to show shim log by @fuweid in #2809
- ctrd/daemon: support PlainHttp pull/push image by @fuweid in #2810
- bugfix: fix lease used by pouchd may be expired by @HusterWan in #2820
- fix: fix golint warning by @KevinBetterQ in #2821
- docs: auto generate pouch cli/api docs via code by @pouchrobot in #2825
- refactor: cri setup network before creating sandbox by @zhuangqh in #2819
- feature: compatible with both k8s and cri-o annotations by @zhuangqh in #2803
- ctrd: support to restart containerd if it is dead by @fuweid in #2829
- fixes #2817 container run with the empty label by @Flsorescence in #2824
- docs: auto generate pouch cli/api docs via code by @pouchrobot in #2830
- feature: add Mountpoints in containers/json api by @HusterWan in #2816
- builder/cli/daemon: integrate with [email protected] by @fuweid in #2779
- fix setup workDir will change the dir ownership on host by @HusterWan in #2831
- cli/ctrd: support push command cli by @fuweid in #2832
- feature: support containerd shim v2 by @zhuangqh in #2759
- cli/daemon/apis/test: support to load docker images without name by @fuweid in #2837
- feature: support set ipv4 or ipv6 when create container by @rudyfly in #2840
- fix: return error if it fails to tear down network in stopsandbox by @zhuangqh in #2836
- remove useless break statement by @rudyfly in #2838
- docs: auto generate pouch cli/api/contributors docs via code by @pouchrobot in #2848
- docs: modify a spelling mistake by @lang710 in #2871
- feature: support registry mirrors by @zhuangqh in #2874
- docs: auto generate pouch cli/api/contributors docs via code by @pouchrobot in #2877
- feature: cli supports --memory-reservation by @KevinBetterQ in #2860
- stats: check pointer before using metrics by @fuweid in #2878
- docs: auto generate pouch cli/api/contributors docs via code by @pouchrobot in #2880
- bugfix: fix error when input 'inspect -f {{.Id}}' by @KevinBetterQ in #2855
- test: modify the env test by @lang710 in #2872
- feature: search the images from specific registry by @hellolijj in #2850
- feature: add pouch cp cmd by @ZYecho in #2879
- docs: auto generate pouch cli/api/contributors docs via code by @pouchrobot in #2887
- docs: auto generate pouch cli/api/contributors docs via code by @pouchrobot in #2888
- copy command: bug fix and enhance by @fuweid in #2890
- feature: cli supports --env-file by @lang710 in #2870
- docs: auto generate pouch cli/api/contributors docs via code by @pouchrobot in #2893
- feature: add kernel info to EngineVersion metric by @KevinBetterQ in #2889
- fix: fix invalid memory limit by @yeya24 in #2876
- Add test information in cli_version_test.go by @Sakuralbj in #2891
- copy: should not mount rootfs again by @fuweid in #2899
- feature: add pouch port cmd by @yeya24 in #2895
- docs: auto generate pouch cli/api/contributors docs via code by @pouchrobot in #2900
- fix: fix runv configure doc by @ZYecho in #2901
- fix docs: add taint step to enable schedule on master by @ZYecho in #2903
- fix: distinguish image name and ref by @zhuangqh in #2902
- fix: search images api methods by @hellolijj in #2905
- upgrade: bump to Go 1.12.6 by @zhuangqh in #2909
- doc: add Aliyun Linux 2 support to INSTALLATION.md by @casparant in #2911
- docs: auto generate pouch cli/api/contributors docs via code by @pouchrobot in #2912
- feature: cri support update runtime config by @zhuangqh in #2904
- upgrade: bump critest and k8s e2e test to 1.14 by @zhuangqh in #2910
- bugfix: fix update container rootfs disk quota recursively timeout by @zjumoon01 in #2922
- fix: pull should return 404 when image not exists by @ZYecho in #2914
- bugfix: removing image by ID should conflict with running container. by @zjumoon01 in #2927
- Update CONTRIBUTING.md by @slievrly in #2939
- [bugfix] LogOpts doesn't take effect in pouchd config file by @zjumoon01 in #2938
- docs: auto generate pouch cli/api/contributors docs via code by @pouchrobot in #2940
- update pouch linter by @yeya24 in #2942
- bugfix: create container with invalid name by @lang710 in #2928
- bug: fix rename a container with invalid name bug by @lang710 in #2945
- fix: dynamic reload cni default config by @zhuangqh in #2949
- feature: add exec timeout support by @ZYecho in #2946
- create time should in seconds instead of nano seconds by @yyb196 in #2955
- fix: make more events available to user by @ZYecho in #2933
- avoid exec_die filed before exec_start by @fuweid in #2984
- Makefile: add commit for the version by @fuweid in #2980
- wait until all the on going requests go to a stable state before shuti… by @yyb196 in #2985
- docs: auto generate pouch cli/api/contributors docs via code by @pouchrobot in #2986
- fix: compatiable with legacy and newly pod when stop pod by @zhuangqh in #2982
- enlarge timeout when pouch start by @zhuangqh in #2988
- Sync to upsteam by @rudyfly in #2990
- fix node e2e test by @zhuangqh in #2991
- docs: auto generate pouch cli/api/contributors docs via code by @pouchrobot in #2996
- feature: add filter for flying request recorder by @zhuangqh in #2999
- fix: exec config leak in cri exec by @zhuangqh in #3000
- Sync to upstream by @fuweid in #3001
- ctrd: fix task unexpected exit by @Ace-Tang in #3002
- docs: fix typo in installation by @shinebayar-g in #3004
- docs: update runtimeclass info by @fuweid in ...
PouchContainer 1.3.0
Welcome to the 1.3.0 version of PouchContainer.
The patch release for PouchContainer 1.3.0 includes
- Upgrade with containerd v1.2.5
- CRI support CONTAINER_PAUSE state, memory swap
- Make quota API friendly
Full Changelog
- version: bump to v1.3.0 #2782 (fuweid)
- bugfix: not save ExecIds to meta.json file #2777 (HusterWan)
- fix: dont set status to exit for oom condition #2772 (zhuangqh)
- cri: diable snapshotter usage collector by default #2769 (fuweid)
- test: add override default mount config test #2766 (Ace-Tang)
- ctrd: fix not set mediaType in manifest when commit image #2763 (Ace-Tang)
- docs: auto generate pouch cli/api docs via code #2762 (pouchrobot)
- test: increase waiting time for daemon related test #2761 (fuweid)
- feature: add disable-bridge switch #2760 (rudyfly)
- Revert "feature: independent runtime root" #2758 (fuweid)
- fix: should not start a paused container #2757 (Ace-Tang)
- test: pull image before using it #2755 (fuweid)
- swagger: update some defines #2754 (Ace-Tang)
- docs: add missing details generated by swagger #2753 (allencloud)
- test: pull image before using it #2751 (fuweid)
- feature: independent runtime root #2748 (zhuangqh)
- test: make test run faster #2747 (rudyfly)
- feature: make env support inputting empty value when creation #2745 (allencloud)
- feature: add set mac address for pouch cli #2743 (rudyfly)
- ctrd: ignore not found error in clean process #2742 (Ace-Tang)
- bugfix: skip error when failed to set disk quota #2741 (rudyfly)
- multisnapshotter: set snapshotter in container config #2739 (Ace-Tang)
- Revert "test: increate the memory limit to TestRunWithMemoryswap2x" #2737 (Ace-Tang)
- daemon/mgr/image: update deadline for loading images #2736 (fuweid)
- fix runc install dependencies to libseccomp-devel in centos #2735 (wangforthinker)
- feature: cri support update container runtime spec annotations #2734 (zhuangqh)
- support annotation in container update api #2726 (wangforthinker)
- ctrd,cli,daemon,pkg: update to adapt with [email protected] #2725 (fuweid)
- pkg/cri: remove useless code #2721 (fuweid)
- cri/pkg: use our own interceptor grpc chain function #2719 (fuweid)
- test: make test run happy #2718 (rudyfly)
- fix: fix typo #2715 (ZYecho)
- update extend annotation field of memory swap #2711 (wangforthinker)
- test: increate the memory limit to TestRunWithMemoryswap2x #2710 (fuweid)
- refact: refact disk quota api #2704 (rudyfly)
- fix cli annotation flagSet to StringArrayVar #2702 (wangforthinker)
- support memory swap by CRI #2700 (wangforthinker)
- bugfix: we should get a container's execids from inspect #2699 (HusterWan)
- test: skip test cgroup parent when use cgroup ns #2693 (Ace-Tang)
- test: change oss endpoint #2692 (rudyfly)
- support update daemon with home-dir and snapshotter #2691 (wangforthinker)
- fix: failed to get correct cgroup path in test #2688 (Ace-Tang)
- feature: exposed rootfs path of the container through inspect command #2687 (fengzixu)
- test: skip the flay case #2686 (fuweid)
- feature: CONTAINER_PAUSE state for CRI #2681 (zhuangqh)
PouchContainer 1.2.0
Welcome to the 1.2.0 version of PouchContainer.
The patch release for PouchContainer 1.2.0 includes
- enhance Container Runtime Interface with PAUSE
- allow multiple snapshotters
- support systemd cgroup driver
- update runC for CVE-2019-5736 (!!!!Be aware that that this version of runC should run in kernel 4.x!!!!)
New Contributors
Here is the list of new contributors:
Full Changelog
- bugfix: check old volume mode #2682 (rudyfly)
- feature: CONTAINER_PAUSE state for CRI #2681 (zhuangqh)
- fix: update container state according to containerd events #2680 (zhuangqh)
- bugfix: fix containerd pid may be reuse #2679 (HusterWan)
- bugfix: make sure SnapshotID not empty when start container #2678 (HusterWan)
- docs: add doc to describe how to use
pouch run --log-driver
#2677 (hellolijj) - bugfix: /etc/mtab will miss quota id #2675 (rudyfly)
- test: refact travis-ci #2673 (rudyfly)
- feature: make pouchd support generating command line docs #2670 (allencloud)
- docs: auto generate pouch cli/api docs via code #2669 (pouchrobot)
- bugfix: should initialize ContainerIO for all container #2668 (fuweid)
- fix: avoid daemon start hang when one shim hang #2666 (Ace-Tang)
- bugfix: flaky test case in cli_start_test.go #2665 (fuweid)
- ctrd: try to fix fail to destroy container #2661 (Ace-Tang)
- delete omitempty from Privileged in api #2660 (HusterWan)
- test: make TestPouchRestartExitedContainer be happy #2658 (rudyfly)
- test: change test image #2657 (rudyfly)
- test: try to make TestRunRestartPolicyNone case happy #2656 (HusterWan)
- docs: auto generate pouch cli/api docs via code #2654 (pouchrobot)
- refactor: refact the setup spec mount #2653 (rudyfly)
- test: use runc build from source code #2652 (Ace-Tang)
- fix: outdated x509 key pair for testing #2651 (zhuangqh)
- fix: wrong time unit in storage plugin #2647 (zhuangqh)
- reset vendor of containerd to v1.0.3, and pass snapshot label by context #2646 (wangforthinker)
- test: add new checkpoint for apis/opts/config/ulimit.go #2645 (WillSmisi)
- test: add new checkpoint for apis/opts/config/runtime.go #2643 (scy1993)
- feature: support push image in daemon side #2641 (Ace-Tang)
- feature: add stats cli command #2640 (ZYecho)
- fix typos in comment #2639 (ZYecho)
- test: add test cases for diskquota_test.go #2638 (hellolijj)
- fix some typos #2637 (chuanchang)
- bugfix: should add snapshot gc label to config #2635 (fuweid)
- bugfix: repair the script of creating k8s cluster with pouch in Ubuntu 16.04.5 #2632 (fengzixu)
- feature: Allow multi snapshotters #2631 (wangforthinker)
- daemon: replace error with warning message when synchronize snapshot update #2629 (chuanchang)
- docs: add two maintainers and component owner/backup policy for project #2627 (allencloud)
- fix: typos #2626 (chuanchang)
- fix: outdated crictl command in docs #2625 (zhuangqh)
- feature: add container stats api client side #2624 (ZYecho)
- feature: extend cri apis for support pause/unpause container #2623 (zhuangqh)
- test: optimize the time of run test cases #2621 (HusterWan)
- docs: auto generate pouch cli/api docs via code #2620 (pouchrobot)
- bugfix: support rich mode container #2617 (HusterWan)
- feature: support cgroup systemd driver #2616 (Ace-Tang)
- test: change test image for container create test #2615 (rudyfly)
- bugfix: do not return stop container time out error #2614 (rudyfly)
- refactor: remove cri wrapper #2613 (zhuangqh)
- config: disable snapshot syncer by default #2611 (fuweid)
- feature: split image pull interface #2608 (Ace-Tang)
- bugfix: make pouchd support top a paused container #2606 (allencloud)
- test: add unit test case for func in cli/inspect package #2599 (jahentao)
- test: api_runtime_test: add new checkpoints #2329 (chuanchang)
- test: api_ulimit_test: add test for ulimit #2328 (chuanchang)
PouchContainer 1.1.0
Welcome to the 1.1.0 version of PouchContainer.
The patch release for PouchContainer 1.1.0 includes Container Runtime Interface v1.12 upgrade, cross build for arm64/ppc64le in local, and container enhancement.
Container Runtime Interface
- Bump into v1.12
- Add daemon configuration to StatusResponse
Tools
- cross building support for arm64/ppc64le
New Contributors
Here is the list of new contributors:
- docs: auto generate pouch cli/api docs via code #2604 (pouchrobot)
- test: add test cases for parse_test.go #2600 (WillSmisi)
- docs: auto generate pouch cli/api docs via code #2595 (pouchrobot)
- remove unused member of daemon config #2593 (zjumoon01)
- refactor: modify output formatting of info command #2592 (ihac)
- [RFC] CRI: Add daemon configuration to StatusResponse as extra information #2589 (zjumoon01)
- test: add unit test case for func ParseEnv #2584 (jahentao)
- test: add test cases for mountpoint_test.go and portbindngs_test.go #2583 (sanmaopep)
- fix: dragonfly document is dead link #2580 (chuanchang)
- test: synchronize branch from tools-dev to release-1.12 in critest #2579 (chuanchang)
- bugfix: miss mount point mode when volume from other container #2576 (rudyfly)
- docs: auto generate pouch cli/api docs via code #2571 (pouchrobot)
- enhance: use bit operation to get device major/minor #2567 (houstar)
- docs: auto generate pouch cli/api docs via code #2566 (pouchrobot)
- test: http_utils_test: add cases for func BoolValue #2565 (sanmaopep)
- docs: uses unix:// prefix to socket for CRI #2564 (fuweid)
- bugfix: StringSliceEqual should also consider duplicate items in slice #2561 (HusterWan)
- bugfix: container log path map not initialized for existing businesses #2559 (Starnop)
- test: simpler test in cli_run_with_privileged_test.go #2558 (Ace-Tang)
- bugfix: do not use string to convert int64 #2557 (fuweid)
- docs: auto generate pouch cli/api docs via code #2555 (pouchrobot)
- bugfix: can't copy data with dr mode #2554 (rudyfly)
- bugfix: container can not write cgroup with privileged #2552 (Ace-Tang)
- bugfix: issues with go vet #2551 (eahydra)
- docs: auto generate pouch cli/api docs via code #2550 (pouchrobot)
- Get a valid image user and image uid #2549 (changyaowei)
- test: update the existing tag image case #2547 (fuweid)
- test: add image config for test. #2546 (rudyfly)
- feature: add publish-all cli flag #2545 (ZYecho)
- fix: volume copy data test #2544 (zhuangqh)
- fix: volume test fails in custom version pouch #2542 (zhuangqh)
- docs: auto generate pouch cli/api docs via code #2541 (pouchrobot)
- bugfix: fix jsonfile flaky test #2540 (ZYecho)
- docs: auto generate pouch cli/api docs via code #2539 (pouchrobot)
- fix: compatible with multi host ip #2536 (zhuangqh)
- test: Clean up temporary test file #2535 (zjumoon01)
- feature: add capabilities for exec process #2533 (Ace-Tang)
- feature: fullfill network scope field in
network ls
andinspect
#2532 (mathspanda) - docs: auto generate pouch cli/api docs via code #2528 (pouchrobot)
- bugfix: Fix CopyData in Bind Mount #2527 (zjumoon01)
- feature: support to choose storage driver #2525 (wangforthinker)
- bugfix: delete upperDir and workDir when deleting container taken over by pouch #2524 (HusterWan)
- cleanup: rm runtime.Caller with const func name #2523 (ZYecho)
- test: complete criu test #2520 (Ace-Tang)
- ci: update runc version to 1.0.0-rc6-1 #2516 (Ace-Tang)
- docs: auto generate pouch cli/api docs via code #2514 (pouchrobot)
- feature: add cross building support for arm64/ppc64le #2513 (houstar)
- bugfix: fix get mountpoint by metadata #2512 (rudyfly)
- bugfix: cleanup containerd container before do restart policy #2510 (fuweid)
- test: fix blkio test case #2506 (HusterWan)
- test: fix some bugs for test #2504 (rudyfly)
- fix indentation and typo in command help description #2502 (zjumoon01)
- refactor: fix part of megacheck issue #2500 (ZYecho)
- enhance: add meaningful field in log/error msg #2498 (houstar)
- test: refactor volume test #2496 (ZYecho)
- circleci: disable megacheck since it consumes more memory #2494 (fuweid)
- docs: auto generate pouch cli/api docs via code #2491 (pouchrobot)
- oci: add pouch default runtime spec #2411 (Ace-Tang)
PouchContainer 1.0.1
Welcome to the 1.0.1 version of PouchContainer.
The patch release for PouchContainer 1.0.1 includes several runtime, container IO and image improvements.
And PouchContainer is build by go1.10.4.
Runtime:
- bugfix: fix incorrect mountpoint size if running container with tmpfs volume #2477 (mathspanda)
- fix: make cpuquota, MemorySwappiness validation compatible with docker #2474 (zhuangqh)
- refactor: use raw system call instead of clone-and-read-from-stdout to boost GetKernelVersion. #2463 (SimonCqk)
- feature: change the function name about prometheus registry #2436 (fengzixu)
- feature: set debug trace back all #2435 (zhuangqh)
- feature: optimise the logic of using prometheus #2429 (fengzixu)
- feature: use ringBuffer to make log not blocking and make it configurable #2428 (Starnop)
- feature: enable ipv6 networking #2417 (houstar)
- feature: support api plugin #2413 (zhuangqh)
- feature: support get security options in daemon #2408 (Ace-Tang)
- feature: add rules for type validation #2394 (zhuangqh)
- feature: add Close function for boltdb backend #2392 (HusterWan)
- refactor: combine functions into one file #2390 (Ace-Tang)
- bugfix: fix pouch inspect does not return Ports in NetworkSettings #2387 (xiaoxubeii)
- refector: refect the pouch's volume module #2379 (rudyfly)
- [RFC] refactor: redesign container io in pouch #2375 (fuweid)
- refactor: use return fast to make code readable #2373 (allencloud)
- bugfix: get ip address by
hostname -i
#2367 (zhuangqh) - bugfix: judge enablement of libnetwork resolver by network mode #2364 (mathspanda)
- refactor: refact the pouch hook plugin #2360 (rudyfly)
- bugfix: distinct init process exit and exec process exit #2347 (HusterWan)
- refactor: refact daemon log #2324 (rudyfly)
- refactor: several change #2320 (zhuangqh)
- enhance: add retry helper method for Trylock #2319 (fuweid)
- enhance: split the containerd daamon control from ctrd #2318 (fuweid)
- feature: add volume plugin #2317 (zhuangqh)
- refactor: modify the definition of ContainerPlugin interface #2316 (zhuangqh)
- bugfix: remove set quota for container meta directory #2310 (zhuangqh)
- bugfix: add check for json-file log opt #2306 (ZYecho)
- feature: add pouch metrics #2303 (zhuangqh)
- fix: remove fifo path if stdio is not initail #2302 (zhuangqh)
- bugfix: jsonfile log should be compatible with moby #2297 (fuweid)
- fix: keep meta data complete #2292 (Ace-Tang)
- feature: add LogPath in Inspect Response #2286 (allencloud)
- refactor: remove redundant code #2285 (SimonCqk)
- bugfix: pouch exec with envs will not replace old envs #2275 (knightXun)
- bugfix: event api connection may be recycled if keeps idle too long #2274 (HusterWan)
- refactor: refactor security spec #2271 (Ace-Tang)
- bugfix: return pid with 0 rather than -1 #2269 (Starnop)
- bugfix: use same memory in ringbuffer #2268 (fuweid)
- bugfix: fix check annotation format #2267 (Ace-Tang)
- fix: make container state in inpsect API correct #2256 (allencloud)
- bugfix: fix lock competition between Stats and Start interface #2238 (HusterWan)
- bugfix: check int type is empty #2235 (rudyfly)
- bugfix: container inspect/list should return image field right #2234 (fuweid)
- feature: support create a container with a given id #2231 (wangforthinker)
- bugfix: fix start container twice error #2229 (HusterWan)
- bugfix: fix error api json #2225 (rudyfly)
- bugfix: fix can't set macaddress for endpoint #2222 (rudyfly)
- refactor: re-design upgrade feature #2211 (HusterWan)
- fix: simplify logic of update env file, and fix bug #2205 (Ace-Tang)
- bugfix: umount rootfs when delete a container #2196 (HusterWan)
- bugfix: set pid of stopped container to 0 #2193 (HusterWan)
Image:
- feature: support images filter flag #2410 (ZYecho)
- enhance: cache image size and oci image spec in pouchd #2301 (fuweid)
CRI:
- bugfix: use netNSPath dynamically #2443 (Starnop)
- fix(kata): use
vm
other thanrunv
as annotations #2441 (flyer103) - fix: kata: workaround passthru net mode when get pod ip #2437 (zhuangqh)
- nvidia-gpu 2.0 make compatible for k8s #2434 (CodeJuan)
- bugfix: not remove the metadata when remove container failed #2348 (Starnop)
- bugfix: put sandbox into store after created to avoid uncontrolled sandbox container #2326 (Starnop)
- feature: add cri metrics #2304 (Starnop)
- upgrade: upgrade the vendor of cri-o/ocicni #2282 (Starnop)
- feature: support RunAsGroup of CRI Manager #2263 (Starnop)
- bugfix: make the time period of cri collecting stats from containerd configurable or just disable it #2278 (YaoZengzeng)
- bugfix: minor fix for error misuse #2277 (YaoZengzeng)
- bugfix: only list container stats which are cr...
1.0.0 (2018-08-31)
IMPORTANT: The PouchContainer is general availability right now. Thanks for all the contributors!
Pouch Daemon
- bugfix: cli should not split args by comma for env/labels #2171 (fuweid)
- refactor: delete update specific code #2165 (HusterWan)
- config: remove check unknown flag in config file #2161 (Ace-Tang)
- enhance: clean filepath in mountpoint #2157 (Ace-Tang)
- bugfix: missing merge some config from image #2156 (Ace-Tang)
- bugfix: set device limit by the mountpoint #2154 (rudyfly)
- bugfix: avoid data race in set exec exit status #2152 (Ace-Tang)
- feature: add cgroupfs in Info API #2148 (allencloud)
Kubernetes
- feature: extend cri apis for get envs #2163 (Starnop)
- bugfix: make the output of some list operations optional #2158 (YaoZengzeng)
- bugfix: handle the error returned by SandboxStore.Put #2151 (Starnop)
- style: format cri logs #2147 (Starnop)
Documentation
Testing
- test: remove the criu install from package dependency #2186 (fuweid)
- package: update runc version #2183 (Ace-Tang)
- test: install criu in ci test #2175 (Ace-Tang)
- test: fix TestNetworkDefault failure on Ubuntu #2170 (chuanchang)
- add timeout for curl to prevent from hanging #2169 (sunyuan3)
Contrib
New Contributors
Here is the list of new contributors:
1.0.0-rc2 (2018-08-23)
IMPORTANT:
In PouchContainer 1.0.0-rc2 makes runtime stable and introduces:
- Image Manager supports history functionality
- Syslog Driver supports lazy connection
- Support nvidia-container 2.0 to enable GPU access
- CRI supports exec resize
Pouch Daemon
- bugfix: fix runtime script may be covered #2141 (Ace-Tang)
- bugfix: fix failed to run a container with specifying a non-exist workdir #2127 (HusterWan)
- [bugfix] we should parse env params when create container #2121 (HusterWan)
- bugfix: can't use sudo command #2120 (rudyfly)
- bugfix: fix that list volumes sets hostname as default label filter #2119 (xiaoxubeii)
- feature: add stats api in daemon side #2112 (allencloud)
- bugfix: extend reference separator #2117 (fuweid)
- refactor: support specify Namespace by user #2106 (HusterWan)
- feature: add exec resize router #2105 (HusterWan)
- bugfix: fix meta store return all item when empty prefix #2104 (Ace-Tang)
- feature: add disk quota for container metadata directory #2102 (rudyfly)
- bugfix: skip empty container dirs #2098 (HusterWan)
- refactor: reduce repeat validate code #2093 (Ace-Tang)
- cgroup: enable memory swappiness equal to -1 #2092 (Ace-Tang)
- bugfix: populate volume error #2087 (shaloulcy)
- bugfix: fix that ListVolumes did not implement filter by labels #2083 (xiaoxubeii)
- feature: support runtime args #2085 (Ace-Tang)
- bugfix: remove duplicate TypeUrl initialize #2082 (HusterWan)
- bugfix: fix that ContainerManager.Create wouldn't remove snapshot when failed #2080 (xiaoxubeii)
- bugfix: do umount rootfs when failed to operate volumes #2078 (rudyfly)
- bugfix: remove blobs and snapshot when remove image #2075 (fuweid)
- bugfix: cannot remove image reference by specified reference when other references are used #2074 (xiaoxubeii)
- api: checkpoint api optimization #2072 (Ace-Tang)
- feature: events service logic code of all links #2071 (HusterWan)
- feature: lazy connect to syslog server #2068 (fuweid)
- feature: add pouch history functionality #2066 (xiechengsheng)
- refactor: move functions from pre-start hook to pouchd #2064 (rudyfly)
- feature: support event service #2053 (HusterWan)
- bugfix: cpu params json name compatibility with moby #2041 (HusterWan)
- bugfix: failed to start container when /etc/mtab is symbol link #2035 (rudyfly)
- bugfix: convert container err into pouchd manager error #2034 (allencloud)
- feature: support nvidia-container 2.0 to enable GPU access #2029 (CodeJuan)
- bugfix: fix container can't ping outside and resolve domain names #2025 (rudyfly)
- fix: add more details in the NotFound error #1960 (allencloud)
- bugfix: add ErrorMessage in jsonstream #1927 (fuweid)
- bugfix: don't set mount tab when rootfs diskquota is null #1926 (rudyfly)
- bugfix: add --name following container name in cmd #1924 (fuweid)
- bugfix: create fifo is not exist #1766 (Ace-Tang)
- bugfix: avoid task exit channel exit unexpected #1765 (Ace-Tang)
- bugfix: pull non-exist image in container create #1764 (Ace-Tang)
- bugfix: pouch pull should handle space input as an error #1753 (xiechengsheng)
- feature: populate empty volumes when creating container #1745 (shaloulcy)
- bugfix: modify volume error messages #1744 (rudyfly)
- fix: ensure daemon start successfully after update damon offline #1743 (Ace-Tang)
- feature: support checkpoint #1740 (Ace-Tang)
- feature: remove InstanceInfo from container env #1738 (allencloud)
- refactor: make all quota implementation logic clear #1736 (allencloud)
- fix: fix swagger generate not consistent #1734 (Ace-Tang)
Storage
- bugfix: can't quota on disk quota #2133 (rudyfly)
- bugfix: fail to execute repquota #2123 (rudyfly)
- refactor: remove unused code from storage #2079 (rudyfly)
- refactor: add more error information #2055 (rudyfly)
- bug: fix judgement for SetRootfsDiskQuota #2028 (Ace-Tang)
- refactor: rm deadcode in storage/volume #2027 (allencloud)
Kubernetes
- bugfix: distinguish NotFound error with others about image #2139 (Starnop)
- feature: extend cri apis for support quotaID #2138 (Starnop)
- bugfix: attach hanging of cri container #2130 (YaoZengzeng)
- bugfix: return error when remove/stop containers of sandbox failed #2109 (YaoZengzeng)
- bugfix: use image reference during ContainerStatus #2096 (fuweid)
- bugfix: avoid the deadlock when failed to remove invalid sandbox #2073 (YaoZengzeng)
- feature: update the version of cri-o/ocicni #2065 (Starnop)
- feature: support resize the tty of cri exec process #2063 (YaoZengzeng)
- bugfix: makeup logpath from sandbox & container mata #2054 (YaoZengzeng)
- bugfix: fix stdin hang when
kubectl exec
#2044 (YaoZengzeng) - bugfix: data race in pkg cri/stream #1925 (YaoZengzeng)
- feature: add CriEna...
1.0.0-rc1 (2018-07-13)
IMPORTANT:
In PouchContainer 1.0.0-rc1 we have done many things that important to all users of PouchContainer:
- PouchContainer-CRI now supports use annotation to choose different runtime.
- PouchContainer Image Manager supports
load
andsave
functionality. - PouchContainer Log Driver supports
syslog
type. - PouchContainer uses latest
libnetwork
in network module. - PouchContainer makes the runtime module stable!
Pouch Daemon & API:
- bugfix: Fix log-opt option parse fails if value contains comma #1729 (Frankzhaopku)
- enhance: add ExtraAttribute functionality in LogInfo #1714 (fuweid)
- bugfix: schema point to a response object #1712 (zhuangqh)
- bugfix: fix exec record user as container config user #1657 (Ace-Tang)
- feature: deamon support --log-driver and --log-opt options #1647 (zhuangqh)
- bugfix: list image should ignore error if containerd can't handle well #1625 (fuweid)
- bugfix: execConfig remove omitemtpy #1619 (HusterWan)
- enhance: add new formatter for syslog #1608 (fuweid)
- enhance: Port Pouch Cli to Darwin(MacOS) #1598 (xuzhenglun)
- feature: support pouch ps filter #1595 (Ace-Tang)
- feature: add pouch save functionality #1592 (xiechengsheng)
- enhance: adjust data stream from pouch pull api #1586 (fuweid)
- feature: add systemd notify #1577 (shaloulcy)
- feature: adjust pouchd unix socket premissions #1561 (Ace-Tang)
- fix: rename cpu-share to cpu-shares in command line #1547 (allencloud)
- feature: add update daemon config function #1514 (rudyfly)
- bugfix: pull image before run and upgrade #1419 (wrfly)
- feature: add pouch load functionality #1391 (fuweid)
- feature: add wait client command for pouch #1333 (xiechengsheng)
Container Runtime:
- bugfix: execute remount rootfs before prestart hook #1622 (HusterWan)
- bugfix: release the container resources if contaienr failed to start #1621 (shaloulcy)
- bugfix: fix memory-swap flag not validate correct #1614 (Ace-Tang)
- bugfix: fix exec stuck when exec get error #1605 (Ace-Tang)
- bugfix: we should set Running flag to true when started container #1604 (HusterWan)
- refactor: move config file from cli into one places #1597 (Ace-Tang)
- feature: support net priority flag #1576 (Ace-Tang)
- refactor: refactor container update diskquota type #1572 (rudyfly)
- bugfix: make ringbuffer right #1558 (fuweid)
- bugfix: vendor latest libnetwork for connect panic #1556 (shaloulcy)
- feature: support shm size #1542 (Ace-Tang)
- bugfix: change the order of generating MountPoints #1541 (shaloulcy)
- refactor: make code more encapsulate and logic simple #1540 (allencloud)
- feature: add container setting check #1537 (Ace-Tang)
- fix: update cpu-quota of 0.2.4 container may occur error #1533 (HusterWan)
- enhance: add volume lock #1531 (shaloulcy)
- bugfix: restore config after update fail #1513 (Ace-Tang)
- bugfix: rm omitempty in resource fields #1505 (allencloud)
- fix: support nullable bool value set in config #1502 (Ace-Tang)
- feature: init syslog functionality in pouchd #1500 (fuweid)
- bugfix: fix the wrong bridge gateway #1495 (rudyfly)
- fix: set memory swap double of non-zero memory value #1492 (Ace-Tang)
- bugfix: add attach volume when container start #1483 (rudyfly)
- feature: support creating container by just specifying rootfs #1474 (HusterWan)
- feature: finish the CLI logs part #1472 (fuweid)
- bugfix: copy data before put it into ringbuf #1471 (fuweid)
- bugfix: set memory swap initial value to 0 #1466 (Ace-Tang)
- refactor: remove ceph volume plugin #1441 (shaloulcy)
- bugfix: we must call Restore container after initialize network Mgr #1422 (HusterWan)
- bugfix: change the option to set volume size #1409 (rudyfly)
- feature: add cgroup resources check #1375 (Ace-Tang)
- feature: add runtime config #1366 (Ace-Tang)
- feature: update lock policy for container management #1307 (allencloud)
Network:
- enhance: display disconnect result for pouch network disconnect #1590 (shaloulcy)
- bugfix: network not found #1473 (shaloulcy)
- refactor: use govendor to depend on libnetwork #1445 (idealhack)
- feature: modify defaut bridge mode #1424 (rudyfly)
- feature: add container's network files #1403 (shaloulcy)
Kubernetes CRI:
- feature: make runtime choosing supported in CRI managers for Kubernetes #1593 (Starnop)
- bugfix: skip teardown network, if the sandbox has been stopped #1539 (YaoZengzeng)
- refactor: return CRI services error #1521 (oiooj)
- bugfix: bind an address for stream server #1520 (YaoZengzeng)
- feature: UpdateContainerResources of CRI Manager #1511 (Starnop)
- fix: Make hack/kubernetes/allinone_aliyun.sh to pass shellcheck #1507 (Starnop)
- if run sandbox failed, clean up; deduplicate the default mounts with user defined ones #1468 (YaoZengzeng)
- feature: stats of cri manager #1431 ([Starnop](https://github.co...
0.5.0 (2018-05-25)
IMPORTANT: In PouchContainer 0.5.0 we have done many things that important to all users of PouchContainer:
- PouchContainer now supports CRI v1alpha2 that will support for Kubernetes 1.10.0
- Add plugin mechanism that we can use many existing volume and network plugins
- Add many container and image tools like
logs
andtag
command that will be very helpful for daily container operation - PouchContainer now is more stable and works well in production environment
Remote API && Client
- Add instruction comment for the
blkio-weight-device
flag ofrun
command #1381 (Ace-Tang) - Fix
cgroup-parent
can not be set from the daemon config file #1361 (Ace-Tang) - Add volume drivers info to system info #1352 (shaloulcy)
- Fix
ExecIDs
parameter ofContainerConfig
should be a slice #1324 (HusterWan) - Refactor format
topExamples
code and addexecExample
#1319 (soarpenguin) - Enhance add more field in
pouch info
command #1238 (ZouRui89) - Add
debug
flag to pouch client #1234 (shaloulcy) - Fix
exec
command align with Mobyv1.24
API #1226 (fuweid) - Fix volume info of
inspect
output is incompatible with Moby API #1213 (HusterWan) - Refactor network list api, make it compatible with Mody API #1173 (rudyfly)
Runtime
- Fix container may be killed when ontainerd instance exit #1407 (HusterWan)
- Fix panic when execute
exec
command with flag-d
#1394 (HusterWan) - New
tag
tool for pouch that allow create alias name for images #1378 (fuweid) - Fix add judge for whether pidfile path is given when start pouch daemon #1374 (Ace-Tang)
- Fix map type can not be merged #1367 (Ace-Tang)
- Add support for updating or deleting an env value #1364 (HusterWan)
- Add support for managing more containers in some commands #1357 (xiechengsheng)
- Fix remove
pids-limit
initial value #1354 (Ace-Tang) - Add support for using an image by digest id #1351 (fuweid)
- Support generate version information at build time #1350 (Ace-Tang)
- Fix let
execConfig
value assignment before IO close, so thathCRI
test case can get right result before container exit #1340 (ZouRui89) - Fix make the jsonfile exit friendly #1330 (fuweid)
- Fix
markStopped
may failed that will cause container status not right #1322 (HusterWan) - Fix mount
/sys/fs/cgroup
into container #1314 (fuweid) - Fix make pouch daemon exit friendly #1311 (fuweid)
- Refactor eliminate
containerMeta
in pouch daemon manager #1300 (allencloud) - New
logs
API implement to redirct container'sStdOut
andStdErr
to json file #1298 (fuweid) - Refactor reorder function sequence to make it more reasonable #1296 (allencloud)
- Add support for taking over old containerd instance when pouchd restart #1275 (HusterWan)
- Fix can't stop a
paused
container #1269 (shaloulcy) - Refactor image manager: redesign the
imageStore
in image manager and make it more clear and stable #1267 (fuweid) - Fix compatibility with alidocker when update container diskquota #1264 (HusterWan)
- Fix change the
QuotaID
toQuotaId
to align with Mobyv1.24
API #1263 (fuweid) - Refactor facilitate make.sh
build
part code #1261 (u2takey) - Fix set container env failed because
Invalid cross-device link
error #1260 (HusterWan) - Fix the output file is used incorrectly & fix the wrong test case name #1258 (xieyanke)
- Add
--volume
flag when remove container that will delete all anonymous volumes created by pouchd #1255 (rudyfly) - Fix mountpoint binary not found error #1253 (shaloulcy)
- Fix the mount path of tmpfs volume and some misspells #1251 (shaloulcy)
- Fix merge flag default value in pouch daemon config, if flag not be passed, we should not merge it with daemon config #1246 (Ace-Tang)
- Add vagrant environment for development #1245 (u2takey)
- Fix free resources after exec exit #1240 (Ace-Tang)
- Fix modify log format #1239 (rudyfly)
- Fix add newline for id when create container #1237 (fuweid)
- Add update restful api support to update container diskquota #1235 (HusterWan)
- Fix
setRawMode
can only be set when the user set tty #1233 (fuweid) - Fix compatibility with
alidocker
when update container labels #1228 (HusterWan) - Add
--pids-limit
flags tocreate
command #1227 (Ace-Tang) - Add support update container's
cpu-period
#1222 (HusterWan) - Add support parsing
ContainerConfig.Volumes
when create container #1219 (rudyfly) - Add support updating env when container is running #1218 (HusterWan)
- Fix volume size without unit #1215 (rudyfly)
- Fix remove the
DiskQuota
field fromResource
struct #1212 (fuweid) - Fix make stopping an non-running container valid #1210 (allencloud)
- Fix make stopping a stopped container return no error #1209 (allencloud)
- Fix make
restart
API support restarting an stopped container #1208 (allencloud) - Refactor store container info to disk failed should return errors #1203 (HusterWan)
- Fix make logrus detect whether output with color #1202 (yyb196)
- Fix remove update image and fix bugs when update env #1196 (HusterWan)
- Fix remove log format type check #1192 (oiooj)
- Fix add default tag
:latest
when using pouchrmi
command to remove untagged container images. #1191 ([xiechengsheng](https:...
0.4.0 (2018-04-19)
Remote API && Client
- Add
lxcfs
enabled info toinfo
command #1152 (zhuangqh) - Add
snapshotter
info to pouchinspect
command #1130 (HusterWan) - Add
--rm
flag to pouchrun
command #1125 (Ace-Tang) - Fix make inspect output to an array #1119 (faycheng)
- Add image proxy info to pouch
info
command #1102 (ZouRui89) - Add
--volumes-from
flags to pouchcreate
command #1131 (rudyfly) - Add
--cpu-period
and--cpu-quota
to pouchcreate
command #1067 (allencloud) - Refactor move parameters parse and validate part into
opts
package #1041 (HusterWan) - Fix
image inspect
andnetwork inspect
command docs #1053 (HusterWan) - Fix restful api url should support both with or without version info #1035 (HusterWan)
- Fix client login logic #1044 (Ace-Tang)
- Add
--annotation
to pouchcreate
command #1046 (Ace-Tang) - Fix make json ID be Id to be compatible with Moby API #1066 (allencloud)
- Fix make pouch
create
output to an array #1034 (ZouRui89) - Add more daemon option in
info
API #1122 (allencloud) - Add more informations in
volume list
result #1028 (rudyfly) - Fix modify
volume inspect
docs #1029 (rudyfly)
Runtime
- Fix errors when using
volume-from
creates container#1161 (rudyfly) - Fix set quota-id without disk-quota #1157 (rudyfly)
- Upgrade
containerd
vendor version tov1.0.3
#1148 (fuweid) - Refactor move
pkg/opts
package toapi/opts
#1147 (allencloud) - Add support parsing volumes from docker image #1145 (rudyfly)
- Fix code style: we should not define a empty slice with
make
#1142 (oiooj) - Fix pouchd panic when meta snapshotter is nil #1140 (oiooj)
- Fix set diskquota failed without quota id #1136 (rudyfly)
- Add node ip and sn into daemon labels #1134 (allencloud)
- Refactor config file resolve #1132 (Ace-Tang)
- Add support to gc unused exec processes #1129 (Ace-Tang)
- Make TLS config params can be setup in the file #1126 (yyb196)
- Add plugin point before endpoint creating #1124 (yyb196)
- Fix return err when
ExecContainer
failed #1117 (oblivionfallout) - Fix remove ip mask in
Networks.IPAddress
#1116 (rudyfly) - Setup profiler and don't bother to enable debug level log #1111 (yyb196)
- Fix we should do not append
latest
tag to the image when it already has a tag #1110 (yyb196) - Fix make container exit with real exit code #1099 (Ace-Tang)
- Add more flags in daemon config file #1088 (Ace-Tang)
- bugfix: fix interface casting error #1085 (Ace-Tang)
- Fix
gocyclo
issues in go report #1084 (zhuangqh) - Fix some spell errors #1081 (dbdd4us)
- Add allinone to deploy pouch as available container to kubernetes #1070 (ZouRui89)
- Fix golint not found has exit code 1 #1059 (sunyuan3)
- Add
diskquota
support regular expression #1057 (rudyfly) - Fix sync abnormal containers status when start pouchd #1056 (HusterWan)
- Remove duplicate error messages in network package #1048 (faycheng)
- Fix setup hook in advance to avoid panic if no prestart hook setup before #1038 (yyb196)
- Enable setup common name whitelist for tls checking #1036 (yyb196)
Network
- Refactor manage
libnetwork
by subtree instead of submodule #1135 (rudyfly) - Fix make pouch network non-existent return exit code 1 #1089 (allencloud)
- Fix delete endpoint after failing to create endpoint #1069 (faycheng)
- Add support for inspecting network by ID #1040 (faycheng)
Kubernetes
- Fix make infra image configurable #1159 (YaoZengzeng)
- Add
--enable-cri
flag topouchd
to specify whether enable CRI #1118 (YaoZengzeng) - Fix we should get image ID from
containerd
#1112 (YaoZengzeng) - Add image auth for cri manager #1097 (YaoZengzeng)
- Add selinux support for cri manager #1092 (YaoZengzeng)
- Fix loop
InspectExec
to finish inExecSync
andExec
operations #1086 (YaoZengzeng) - Fix for
privileged
container, makedir
prefix with/sys
ReadWrite #1055 (YaoZengzeng) - Fix distinguish
cmd
andentrypoint
better #1045 (YaoZengzeng) - Fix specify both
cmd
andargs
when create a container #1027 (YaoZengzeng)
Test
- Add
lxcfs
binary check #1127 (Letty5411) - Add
tls
test #1115 (Letty5411) - Add mock test for
create
client #1106 (Dewey-Ding) - Seperate integration test and cri test in travisCI #1098 (Letty5411)
- Add mock test for
top
client #1093 (zhuangqh) - Add mock test for
resize
andrestart
client #1090 (Dewey-Ding) - Add tests for
label
and config file inpouchd
#1087 (Letty5411) - Refine
pouchd
test framework #1078 (Letty5411) - Add mock test
pause
andunpause
client #1074 (Dewey-Ding) - Add mock test for `re...