Govur University Logo
--> --> --> -->
...

After updating Docker images, what command efficiently removes image layers that are no longer tagged or associated with any running or stopped containers, freeing up disk space?



After updating Docker images, the command that efficiently removes image layers no longer tagged or associated with any running or stopped containers, thereby freeing up disk space, is `docker image prune`. Docker images are constructed from a series of immutable, read-only "image layers." Each instruction in a Dockerfile generates a new layer, and these layers are stacked to form the final image. This layered architecture enables efficient storage and sharing....

Log in to view the answer



Redundant Elements