You have various options for controlling resources (cpu, memory, disk) in docker. These are principally via the docker-run command options.
-c, --cpu-shares=0
CPU shares (relative weight, specify some numeric value which is used to allocate relative cpu share)