浏览代码

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 年之前
父节点
当前提交
587b186f85
共有 1 个文件被更改,包括 1 次插入1 次删除
  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