Docker Community Forums

Share and learn in the Docker community.

Is there a way to get the amount of memory/cpu from pinata?

(Josh Reichardt) #1

Expected behavior

I’d like to be able to access just the memory or just the cpu instead of running pinata list to list everything out at once. Is there a way to do this?

Actual behavior

The only way I can do this currently is to list everything out.

(Jgielstra) #2
cat ~/Library/Containers/com.docker.docker/Data/database/com.docker.driver.amd64-linux/memory
cat ~/Library/Containers/com.docker.docker/Data/database/com.docker.driver.amd64-linux/ncpu

(Josh Reichardt) #3

That worked. Thanks.