Is any docker command to find service specific container size

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

what size are you interested in , disk, memory?

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:

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