docker inspect --format='{{.HostConfig.NanoCpus}}' conainer
docker update --cpus "1" conainer
--cpus=<value>
Specify how much of the available CPU resources a container can use. For instance, if the host machine has two CPUs and you set --cpus="1.5", the container is guaranteed at most one and a half of the CPUs. This is the equivalent of setting --cpu-period="100000" and --cpu-quota="150000".
--cpus
равным количеству процессоров в системе..HostConfig.NanoCpus
стала равна 0 можно пересоздать контейнер.