spotify/docker-client

Support host config cpus

オープン

#959 opened on 2018/01/06

 (10 件のコメント) (2 件のリアクション) (0 人の担当者)Java (551 件のフォーク)batch import
enhancementhelp wantedpinned

Repository metrics

Stars
 (1,430 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド