spotify/docker-client

Support host config cpus

Ouverte

#959 ouverte le 6 janv. 2018

 (10 commentaires) (2 réactions) (0 personne assignée)Java (551 forks)batch import
enhancementhelp wantedpinned

Métriques du dépôt

Stars
 (1 430 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Description

Support host config --cpus=<value>

I know we have workaround, but it will be good to have --cpus.

set --cpus="1.5", the container will be guaranteed to be able to access at most one and a half of the CPUs. This is the equivalent of setting --cpu-period="100000" and --cpu-quota="150000". Available in Docker 1.13 and higher.

Guide contributeur