summaryrefslogtreecommitdiff
path: root/docs/sources/reference/api/docker_remote_api_v1.8.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/sources/reference/api/docker_remote_api_v1.8.rst')
-rw-r--r--docs/sources/reference/api/docker_remote_api_v1.8.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/sources/reference/api/docker_remote_api_v1.8.rst b/docs/sources/reference/api/docker_remote_api_v1.8.rst
index b752f2f8a4..16492dde76 100644
--- a/docs/sources/reference/api/docker_remote_api_v1.8.rst
+++ b/docs/sources/reference/api/docker_remote_api_v1.8.rst
@@ -1287,8 +1287,8 @@ 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