cURL 7.50 changed the validation for URL's when using socket connections. cURL 7.4x did not expect a hostname, whereas cURL 7.5x and above _requires_ a hostname. See https://github.com/curl/curl/issues/936 This updates the example to take both versions into account, because cURL 7.4x is still widely used by distros. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 2e0d6e6be2294ef2561e8c3b5f750fd814536268 Component: engine
published
| published |
|---|
| false |
This directory holds the authoritative specifications of APIs defined and implemented by Docker. Currently this includes:
- The remote API by which a docker node can be queried over HTTP
- The registry API by which a docker node can download and upload images for storage and sharing
- The index search API by which a docker node can search the public index for images to download
- The docker.io OAuth and accounts API which 3rd party services can use to access account information