Docker Community Forums

Share and learn in the Docker community.

How many cpu's can a container use in docker swarm?

(Ricolumc) #1

I’am playing around with docker swarm and I was wondering how many cpu’s a container can use? I have a small network with 4 ubuntu 16.04 servers. One server is the manager and consul and the other 3 servers are nodes. All servers have 2 CPU’s.
If I run a container it is alway run on 1 node. Is it possible to run a container over multiple nodes? Is it possible to run a container using 6 CPU’s?

Cheers, Rico