spotify/docker-client

Support host config cpus

开放

#959 创建于 2018年1月6日

 (10 条评论) (2 个反应) (0 位负责人)Java (551 个派生)batch import
enhancementhelp wantedpinned

仓库指标

星标
 (1,430 个星标)
PR 合并指标
 (30 天内没有已合并 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.

贡献者指南