Skip to content

Instantly share code, notes, and snippets.

View mmautner's full-sized avatar
🌊
chilling

Max Mautner mmautner

🌊
chilling
View GitHub Profile
@mmautner
mmautner / resource_alloc_docker.md
Last active March 29, 2017 23:10 — forked from afolarin/resource_alloc_docker.md
Resource Allocation in Docker

Container Resource Allocation Options in docker-run

You have various options for controlling resources (cpu, memory, disk) in docker. These are principally via the docker-run command options.

Dynamic CPU Allocation

-c, --cpu-shares=0         
CPU shares (relative weight, specify some numeric value which is used to allocate relative cpu share)