What is the interaction of Docker's CpuShares between containers?

If we have 3 Docker containers running a 4 vcpu AWS instance and two containers say “CpuShares:0” and the third container says “CpuShares:2” how does that work?

Does the “CpuShares:2” container have access to 2 or all 4 cpus? What does “CpuShares:0” mean?. Does the “CpuShares:2” container basically just get priority over the other containers?

  • Elasticsearch Unreachable: Connection refused
  • Adding Flyway to a MySQL Docker Container
  • How to create User/Database in script for Docker Postgres
  • docker mysql-server not starting on ubuntu [closed]
  • Template parsing error: template: :1: unclosed action
  • Getting error status trying to upload my kubernetes pod
  • Thanks.

  • Using Docker Nginx, PHP, MySQL on Mac
  • jar file with arguments in docker
  • Vagrant docker-exec
  • XRDP in Docker Container KDE segfault, LXDE OK
  • PyCharm add remote Python interpreter inside the Docker
  • Lift Sails inside Docker container
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.