Analyse a container's disk usage in Docker?

0 votes
I have a container in which I have a web application. I wanted to know the size of the container. Is there any command by which we can know the size of the container. Can anyone please resolve this query?

Thanks
Nov 13, 2018 in DevOps & Agile by Shubham
• 1,000 points
90 views

1 answer to this question.

0 votes

Here is a very simple command to know the size of your container.

Try using:

docker ps -s

I hope it would resolve your query.

answered Nov 13, 2018 by Damon Salvatore
• 5,510 points

Related Questions In DevOps & Agile

0 votes
2 answers

Running a cron job in a docker conratiner

Let’s create a new file called "crontab" ...READ MORE

answered Aug 7, 2018 in DevOps & Agile by Kalgi
• 45,930 points
4,780 views
0 votes
1 answer

How do I get a Docker container's IP address from the host?

Save your docker image as a tar ...READ MORE

answered Aug 29, 2018 in DevOps & Agile by shubham
• 6,890 points
62 views
0 votes
1 answer

How to a run deployed app in Docker for Windows?

To deploy an ASP.NET web application to ...READ MORE

answered Aug 29, 2018 in DevOps & Agile by Tyrion anex
• 8,310 points
130 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 57,300 points
263 views
0 votes
1 answer

How do I list containers in Docker?

To view running containers use  below command: docker ps I you want ...READ MORE

answered Sep 4, 2018 in DevOps & Agile by Damon Salvatore
• 5,510 points
61 views
0 votes
1 answer