Deprecate special handling for quoted values for TLS flags #6290
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
relates to:
The
--tlscacert,--tlscert, and--tlskeycommand-line flags had non-standard behavior for handling values contained in quotes ("or'). Normally, quotes are handled by the shell, for example, in the following example, the shell takes care of handling quotes before passing the values to thedockerCLI:However, when passing values using an equal sign (
=), this may not happen and values may be handled including quotes;This caused issues with "Docker Machine", which used this format as part of its
docker-machine configoutput, and the CLI carried special, non-standard handling for these flags.Docker Machine reached EOL, and this special handling made the processing of flag values inconsistent with other flags used, so this behavior is deprecated. Users depending on this behavior are recommended to specify the quoted values using a space between the flag and its value, as illustrated above.
- What I did
- How I did it
- How to verify it
- Human readable description for the release notes
- A picture of a cute animal (not mandatory but encouraged)