1
0
mirror of https://github.com/docker/cli.git synced 2026-01-13 18:22:35 +03:00

Fix Remote API doc typo in cURL command

Either a single slash or localhost should be specified after http in the cURL URL, not http:// (double slash)

Signed-off-by: ohadschn <ohad188@gmail.com>
Upstream-commit: e31217fbc46e2dc99fa281332f9465562b26f073
Component: engine
This commit is contained in:
Ohad Schneider
2016-03-14 21:07:44 +02:00
committed by ohadschn
parent cb0a6e9bbb
commit b29707bc59

View File

@@ -29,7 +29,7 @@ later, as these versions have the `--unix-socket` flag available. To
run `curl` against the daemon on the default socket, use the
following:
curl --unix-socket /var/run/docker.sock http://containers/json
curl --unix-socket /var/run/docker.sock http:/containers/json
If you have bound the Docker daemon to a different socket path or TCP
port, you would reference that in your cURL rather than the