Hi Jovi,
Thanks for the links Horace. To expand on your observations Jovi… yes, CC2.x is ‘stable’,
and primary development is forging ahead on CC3.x.
CC3.x is at ‘beta’ stage, which indicates feature-complete before release (that is, no new
major features added until post release), and the goal was to have CC3.x released with at
minimum a comparable or better feature set to CC2.x.
Thus, you should find CC3.x beta has all the features of CC2.2.4. CC3.x is still in beta
right now (although release is fairly imminent), but if you are willing to accept
trialling CC3.x, then please follow the links Horace provided.
We would heartily welcome feedback, input and contributions on CC3.x ☺
Graham
From: Li, Horace
Sent: Thursday, August 24, 2017 7:30 AM
To: Jovi Zhangwei <jovi.zhangwei(a)gmail.com>; Whaley, Graham
<graham.whaley(a)intel.com>
Cc: cc-devel(a)lists.01.org
Subject: RE: [cc-devel] Questions about clear container
Hi, Jovi,
Here is the CC 3.0 installation guide from
github.com, and it supports installation on
Fedora and Ubuntu.
https://github.com/clearcontainers/runtime/blob/master/docs/ubuntu-instal...
https://github.com/clearcontainers/runtime/blob/master/docs/fedora-instal...
Hope it could help for you to start early evaluation of CC 3.0.
Thanks,
Horace
From: cc-devel [mailto:cc-devel-bounces@lists.01.org] On Behalf Of Jovi Zhangwei
Sent: Wednesday, August 23, 2017 7:50 PM
To: Whaley, Graham <graham.whaley@intel.com<mailto:graham.whaley@intel.com>>
Cc: cc-devel@lists.01.org<mailto:cc-devel@lists.01.org>
Subject: Re: [cc-devel] Questions about clear container
Hi Graham,
Thanks for your reply, it seems a lot of efforts goes into CC3.x, when CC3.x will fully
feature-complete compare with CC 2.2.4? we're using CC 2.2.4, but also want cpu/memory
resource limit feature urgently. Can we use CC3.x right now?
On Wed, Aug 23, 2017 at 5:59 PM, Whaley, Graham
<graham.whaley@intel.com<mailto:graham.whaley@intel.com>> wrote:
From: cc-devel
[mailto:cc-devel-bounces@lists.01.org<mailto:cc-devel-bounces@lists.01.org>] On
Behalf Of Jovi Zhangwei
Hi,
Hi Jovi,
I have some questions about using docker command in Clear Container,
I didn't found any clear answer in doc about these issues, so wish some experts would
give me some clues, great thanks.
1. does cc-oci-runtime support Pod? many containers runs in one vm?
Yes, under kubernetes with CRI-O. You can find some details on setting that up in the wiki
page:
https://github.com/01org/cc-oci-runtime/wiki/Clear-Containers-and-Kubernetes
I will also ask @eernst and @mcastelino to add/confirm that here.
2. 'docker stats' doesn't show anything.
Yep. This is a current known limitation. There are some details over in the CC3.x
repo. We should be looking at that in CC3.x relatively soon.
https://github.com/clearcontainers/runtime/blob/master/docs/limitations.m...
https://github.com/clearcontainers/runtime/issues/200
https://github.com/clearcontainers/runtime/issues/379
3. Support setting memory and cpu resource through via docker CLI,
like "docker run -m MEMORY" and "docker run --cpus CPU", instead use
fixed configuration.
Reference:
https://github.com/01org/cc-oci-runtime/wiki/Limitations#15cpu-and-memory
Yep, also known. Along with the reference you provide, also:
https://github.com/clearcontainers/runtime/blob/master/docs/limitations.m...
https://github.com/clearcontainers/runtime/issues/381
https://github.com/clearcontainers/runtime/issues/341
These are being looked into at present for CC3.x.
In the meantime, as a potential workaround for some situations,
In CC2.x (cc-oci-runtime) you can modify the
https://github.com/01org/cc-oci-runtime/blob/master/data/hypervisor.args.in file to change
what the fixed configuration is.
And some similar cpu features were added to CC3.x recently.
https://github.com/clearcontainers/runtime/pull/297
Of course, contributions and pull requests to help improve any of these are always more
than welcome ;-)
Graham
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.