According to Docker documentation, in order to limit a container to a certain amount of cpu, we use the parameter --cpus when starting the container:
docker run -it --cpus=".5" ubuntu /bin/bash
Now that I have the container running, how do I check that limit that was assigned to the container in the first place?
In other words, is there a command that I can run and I can see that .5 that was assigned to the ubuntu container of the example?