spotify/docker-client

Support host config cpus

Open

#959 geöffnet am 6. Jan. 2018

Auf GitHub ansehen
 (10 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)Java (551 Forks)batch import
enhancementhelp wantedpinned

Repository-Metriken

Stars
 (1.430 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide