Docker Community Forums

Share and learn in the Docker community.

Is any docker command to find service specific container size


(Loganathan123) #1

Service gets successfully deployed in docker swarm is there command to find container size of specific service.i searched enough in docker site to find a way but couldn’t helped.can anyone help me for same

(Sam) #2

what size are you interested in , disk, memory?

(Loganathan123) #3

Its good if you could let me know the way to find cpu,disk,memory size of container specific to service…Thanks for your quick reply:smile:

(Sam) #4

i do not know the answer, but wanted to make sure others could understand the request.

i believe the memory for the container is configured someplace in the docker daemon config.


docker stats [container_id]

command can give you memory and current cpu usage