Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: present docker-compose.yml prevents share:restore when 'docker' … #121

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

kitzberger
Copy link
Contributor

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.

@josefglatz
Copy link
Member

@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.

@kitzberger
Copy link
Contributor Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants