I am trying to execute the following command from within an ammonite Scala script:
Process("docker stop $(docker ps -a -q) && docker rm $(docker ps -a -q)")
I always get the following output:
unknown shorthand flag: 'a' in -a
See 'docker stop --help'.
I've tried so many different variations without any luck, however it works fine from the console. Some help would be much appreciated.