mirror of
https://github.com/moby/moby.git
synced 2026-08-04 15:11:00 +00:00
Update docker_remote_api.md
See https://github.com/docker/docker/issues/26099#issuecomment-245007539
Signed-off-by: Gerwim Feiken <g.feiken@tfe.nl>
(cherry picked from commit 587b186f85)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
committed by
Sebastiaan van Stijn
parent
6f3ad4cfc7
commit
9b63991d16
@@ -25,7 +25,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
|
||||
|
||||
Reference in New Issue
Block a user