-c does not mean limiting the CPU usage, but the relative CPU usage of a group of processes. It is a share ratio. Your docker process on the host just acts as an ordinary process with all other processes in units defined by cgroups. CPU scheduling is performed, but the CPU limit unit of the same cgroups will share the CPU usage. Therefore, if you have multiple docker processes in the same cgroups limit unit, they will share the usage, but they cannot be prevented from causing CPU100 together. %.
-c does not mean limiting the CPU usage, but the relative CPU usage of a group of processes. It is a share ratio. Your docker process on the host just acts as an ordinary process with all other processes in units defined by cgroups. CPU scheduling is performed, but the CPU limit unit of the same cgroups will share the CPU usage. Therefore, if you have multiple docker processes in the same cgroups limit unit, they will share the usage, but they cannot be prevented from causing CPU100 together. %.