In section 6 the first option for removing all containers and images by those commands :“docker container rm -f $(docker container ls -aq)” , “docker image rm -f $(docker image ls -aq)”
have not worked.
The error is:"Unknown shorthand flag: ‘a’ - in -qa
see ‘docker rm --help’ "
How is it possible at all that this is happening to me?