I want to create tool for stop all containers in Docker.
For that I must do :
- docker stop $(docker ps -aq)
This command works in CMD of Windows 10.
But I can't use that for my custom tool in PhpStorm.
docker stop $(docker ps -aq)
unknown shorthand flag: 'a' in -aq)
See 'docker stop --help'.
I thing '$' is the problem, thanks for your help.