Jelajahi Sumber

Update docker_remote_api.md

See https://github.com/docker/docker/issues/26099#issuecomment-245007539

Signed-off-by: Gerwim Feiken <g.feiken@tfe.nl>
Gerwim 8 tahun lalu
induk
melakukan
587b186f85
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      docs/reference/api/docker_remote_api.md

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

@@ -33,7 +33,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://localhost/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