I'm trying to remove all the docker images using the following command:
docker rmi $(docker images -a -q)
This fails with the error:
C:\Users\Nithi>docker rmi $(docker images -a -q)
unknown shorthand flag: 'a' in -a
See 'docker rmi --help'.
This is on a Windows 10 machine.