I have some containers run with cpu and memory limit as below: (docker ce version 19.03.13. on CentOS 7)
19.03.13
docker inspect mycontainer | grep -iE \'cpu