FIX: present docker-compose.yml prevents share:restore when 'docker' …
In case you wanna run ct share:restore --mysql from inside a docker container and there's a docker-compose.yml present that command quits with an exception because it fails to list all running docker containers. Because inside a docker container the docker executable is usually not available.
This patch makes sure the user is being asked in case docker ps fails whether or not they wanna continue.
@kitzberger When do you need such a call within a docker container? I don't get the real world scenario actually.
Don't get me wrong, I find the idea of the patch super for some situations.
@josefglatz, that's almost one year ago, how should I remember ;-) but we probably had have a scenario like having all project files including the docker-compose.yml copied/mounted/cloned into the container.