Quickly learn How to remove all unused Docker images with WhaleDeck Shorts. Clear, step-by-step guides for Docker.
The answer is quite simple. The following command shows how to remove all unused (not referenced by a container) Docker images, and old image versions at once.
docker image prune -a