In order to know what size is utilized by a docker container we can make use of the docker ps command with --size option.
Example:% docker ps -a --size --format "table {{.ID}}\t{{.Names}}\t{{.Image}}\t{{.Size}}"
CONTAINER ID NAMES IMAGE SIZE
9f02645eac99 nifty_yalow nginx 1.09kB (virtual 135MB)
6df1f3248f02 modest_montalcini alpine 0B (virtual 5.29MB)
31b01099d9d6 competent_pasteur alpine 539MB (virtual 544MB)
Facing issues? Have Questions? Post them here! I am happy to answer!
More Posts related to Docker,
- Install Docker on Mac using brew cask
- How to know the Docker Sandbox ID of a Container Network?
- How to Rename Docker Image with none TAG and REPOSITORY?
- How to know list of images available on your device
- Docker Alpine Linux and Apache2 Example
- Install Bash on Alpine Linux - Docker
- Docker Run Command Examples - Part 1
- Install the minimal Linux on Docker (only 5 mb Alpine Linux)
- [fix] docker: Error response from daemon: dial unix docker.raw.sock: connect: no such file or directory.
- Install RabbitMQ on Docker
- How to know docker Engine details
- [Fix] Docker Error response from daemon: manifest for :latest not found: manifest unknown
- How to stop and start a docker container
- How to create volume in Docker using Command
- How to know the Docker Engine Version
- [docker] Error response from daemon: No such container
- Install Docker for Mac using Home-brew Cask
- Docker - Incompatible CPU detected - M1/M2 Mac (macOS Sonoma)
- [fix] Docker Desktop App not starting on Mac (macOS)
- Unable to find image docker latest locally
- How to Stop/Cancel/kill docker image pull
- List of what's new in Docker 4.23
- [Docker M1/M2 Mac] qemu-x86_64: Could not open /lib64/ld-linux-x86-64.so.2: No such file or directory AWS CLI
- Install Docker Desktop on M1/M2 Apple Silicon ARM Chip Mac
- Docker - Running in Resource Saver mode
More Posts:
- PowerShell Alias Type Commands List for Mac - MacOS
- Find your macOS version - MacOS
- Android Emulator window was out of view and was recentered - Android-Studio
- Fix: Eclipse Cant Connect to any repository not Authorized Error GitHub - Eclipse
- How to Skip or Ignore JUnit test cases in Java - Java
- How to list all tables using Java JDBC - Java
- How to track and download Microsoft Teams meeting attendance report of participants/students - Teams
- VS Code Remove Unused Imports Keyboard Shortcut - HowTos