Answer the question
In order to leave comments, you need to log in
How to find out the weight of a docker container (running and not, so is image)?
For example with golang. I'll write the code myself, tell me which command shows the weight of the container or image (it doesn't matter in bytes or megabytes)? Or do you just need to go into the folder and count the files?
Answer the question
In order to leave comments, you need to log in
docker images
shows the size of the image docker ps -s
or docker ps -as
prints the size of the container
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question