Selaa lähdekoodia

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>
Ohad Schneider 9 vuotta sitten
vanhempi
commit
e31217fbc4
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      docs/reference/api/docker_remote_api.md

+ 1 - 1
docs/reference/api/docker_remote_api.md

@@ -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
 run `curl` against the daemon on the default socket, use the
 following:
 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
 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
 port, you would reference that in your cURL rather than the