Is there any way we can see which cpu core our container is using?

  containers, docker

For example, if I run a container normally with docker run -it nginx. Is there any way that I can see which CPU core my container is running on? If my host machine has 4 cores, is there any way that I can know which of these 4 cores my container is using?

Source: Docker Questions