spotify/docker-client

Support host config cpus

Open

#959 建立於 2018年1月6日

在 GitHub 查看
 (10 留言) (2 反應) (0 負責人)Java (551 fork)batch import
enhancementhelp wantedpinned

倉庫指標

Star
 (1,430 star)
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.

貢獻者指南