Docker Community Forums

Share and learn in the Docker community.

Docker Daemon and CLI Concurrency

docker

(Yrcomputing) #1

Hey,

I recently got started on using docker and have one question: can docker daemon be configured to use multiple CPUs so that I can run multiple docker commands (e.g., docker run) concurrently? I found dockerd itself seems only use 1 thread at maximum and when I issue multiple docker run commands at the same time, the requests are queued and the throughput does not scale at all. I searched a bit and didn’t find any option that allows me to increase the number of CPUs / Threads that docker daemon can use. Am I missing something or it is true that docker can only use 1 cpu to run its commands/requests?

Here is my docker info:

Containers: 48
Images: 6
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 102
Dirperm1 Supported: false
Execution Driver: native-0.2
Kernel Version: 3.13.0-85-generic
Operating System: Ubuntu 14.04.4 LTS
CPUs: 2
Total Memory: 15.67 GiB

Thanks,

  • Yong

(Fote) #2

Do you resolve this issue? I faced the same one