> From: cc-devel [mailto:cc-devel-bounces@
lists.01.org] On Behalf Of Jovi Zhangwei
> 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-
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.
clearcontainers/runtime/blob/ master/docs/limitations.md# docker-stats
> 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.
Yep, also known. Along with the reference you provide, also:
clearcontainers/runtime/blob/ master/docs/limitations.md# resource-management
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/file to change what the fixed configuration is. hypervisor.args.in
And some similar cpu features were added to CC3.x recently.
Of course, contributions and pull requests to help improve any of these are always more than welcome ;-)
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.