summaryrefslogtreecommitdiff
path: root/docs/sources/reference/api/docker_remote_api_v1.6.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/sources/reference/api/docker_remote_api_v1.6.rst')
-rw-r--r--docs/sources/reference/api/docker_remote_api_v1.6.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/sources/reference/api/docker_remote_api_v1.6.rst b/docs/sources/reference/api/docker_remote_api_v1.6.rst
index a9ddfb2c13..cfc37084b8 100644
--- a/docs/sources/reference/api/docker_remote_api_v1.6.rst
+++ b/docs/sources/reference/api/docker_remote_api_v1.6.rst
@@ -1274,9 +1274,9 @@ In this version of the API, /attach, uses hijacking to transport stdin, stdout a
3.3 CORS Requests
-----------------
-To enable cross origin requests to the remote api add the flag "-api-enable-cors" when running docker in daemon mode.
+To enable cross origin requests to the remote api add the flag "--api-enable-cors" when running docker in daemon mode.
.. code-block:: bash
- docker -d -H="192.168.1.9:4243" -api-enable-cors
+ docker -d -H="192.168.1.9:4243" --api-enable-cors