how to delte image in docker code example Example 1: remove docker images Click to copydocker system prune -a Example 2: how to remove docker images Click to copydocker image rm