فهرست منبع

Merge pull request #2303 from metalivedev/2302-fixintro

Fix #2302
Andy Rothfusz 11 سال پیش
والد
کامیت
26adda6c31
2فایلهای تغییر یافته به همراه8 افزوده شده و 3 حذف شده
  1. 6 3
      docs/sources/api/docker_remote_api_v1.6.rst
  2. 2 0
      docs/sources/use/basics.rst

+ 6 - 3
docs/sources/api/docker_remote_api_v1.6.rst

@@ -13,9 +13,12 @@ Docker Remote API v1.6
 1. Brief introduction
 =====================
 
-- The Remote API is replacing rcli
-- Default port in the docker daemon is 4243
-- The API tends to be REST, but for some complex commands, like attach or pull, the HTTP connection is hijacked to transport stdout stdin and stderr
+- The Remote API has replaced rcli
+- The daemon listens on ``unix:///var/run/docker.sock``, but you can
+  :ref:`bind_docker`.
+- The API tends to be REST, but for some complex commands, like
+  ``attach`` or ``pull``, the HTTP connection is hijacked to transport
+  ``stdout, stdin`` and ``stderr``
 
 2. Endpoints
 ============

+ 2 - 0
docs/sources/use/basics.rst

@@ -67,6 +67,8 @@ you don't need to add ``sudo`` to all the client commands.
   # Restart the docker daemon
   sudo service docker restart
 
+.. _bind_docker:
+
 Bind Docker to another host/port or a Unix socket
 -------------------------------------------------