Closed gsch-cmi closed 7 months ago
I think we've probably got a better issue for it, but https://github.com/docker-library/mysql/pull/613#issuecomment-564793428 has some very related comments (effectively, we don't currently escape passwords, which causes problems like this one).
Gotcha, thanks for the response, that issue definitely clarifies the problem better. Feel free to close this or leave open as suits your needs.
MySQL image fails to run when using docker secrets with MYSQL_PASSWORD_FILE when password file contains a single-quote (') character. Removing the single quote from the password file results in a successful run. It seems that some additional escaping of the password input, or at least documentation regarding this limitation would be helpful.
Thanks very much!