-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Skip setup if they want to get --help #147
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
Conversation
@ltangvald what're your thoughts on this? Right now it falls over pretty hard if we use Do you think there are other |
Maybe --print-defaults? |
A concern is that this will quickly balloon out of control if we start adding checks for any options that cause the server to behave in a non-standard way. E.g. -? is a variant of --help and would also need to be included. Maybe better to either try to detect the failure early so the user doesn't have to wait for a timeout or have a specific, documented way of getting a readme-like output from the image? |
It could get longer, yes, but I think there is a limited set that cause the server to not actually run that we should catch, rather than trying to detect that a failure is a success. We would otherwise have to detect them in two spots, one after trying to get The set I have found is: |
@ltangvald, does this seem like a solid solution? |
Gah, sorry. Yeah as long as we keep it limited it looks good :) |
LGTM 👍 |
Skip setup if they want to get --help
- `celery`: 3.1.23 - `docker`: 1.10.3 - `java`: add `alpine` variants for 7 and 8 (docker-library/openjdk#62), add `bzip2` and `xz` (docker-library/openjdk#70) - `mariadb`: skip setup for `--help` (MariaDB/mariadb-docker#45) - `mysql`: skip setup for `--help` (docker-library/mysql#147) - `percona`: skip setup for `--help` (docker-library/percona#15)
- `celery`: 3.1.23 - `docker`: 1.10.3 - `java`: add `alpine` variants for 7 and 8 (docker-library/openjdk#62), add `bzip2` and `xz` (docker-library/openjdk#70) - `mariadb`: skip setup for `--help` (MariaDB/mariadb-docker#45) - `mysql`: skip setup for `--help` (docker-library/mysql#147) - `percona`: skip setup for `--help` (docker-library/percona#15)
This will allow users to see available flags with
docker run -it --rm mysql --verbose --help
.