containers / virtcontainers

A Go package for building hardware virtualized container runtimes
Apache License 2.0
139 stars 43 forks source link

Start docker container with the right number of vCPUs #661

Closed devimc closed 6 years ago

devimc commented 6 years ago

currently if a docker container is created with a CPU constrain, the VM start with the wrong number of vCPUs, the VM must start with the number of vCPUs specified by default_vcpus allowing to the runtime hot add / remove resources as needed

more info see: https://github.com/clearcontainers/runtime/issues/1032 and https://github.com/clearcontainers/runtime/pull/1041