Hi,
For some reason, this command is not executed correctly while running docker commands.
位 docker container rm -f $(docker container ls -q)
unknown shorthand flag: 'q' in -q)
See 'docker container rm --help'.
Same Command(Copy/paste) works on powershell OR other terminals
$ docker container rm -f $(docker container ls -q)
e8dd13ec4de3
d6617e2402a4
0d49f3199e5b
and this works on cmder
docker container ls -q
Which she'll are you using?
cmd::cmder(Default) or bash::bash
The command you are trying will not work in cmd::cmder(Default) but should work in the bash and PowerShell.
Most helpful comment
Which she'll are you using?
cmd::cmder(Default) or bash::bash
The command you are trying will not work in cmd::cmder(Default) but should work in the bash and PowerShell.