WeareJH / wf2

PHP environments for Magento 1, Magento 2 & Wordpress
6 stars 3 forks source link

Only stop and rm containers, if there are some running #105

Closed AydinHassan closed 4 years ago

AydinHassan commented 4 years ago

Before this patch, with no containers running:

wf2 up --clean
[wf2 info]: using config file wf2.yml
"docker stop" requires at least 1 argument.
See 'docker stop --help'.

Usage:  docker stop [OPTIONS] CONTAINER [CONTAINER...]

Stop one or more running containers