Either a single slash or localhost should be specified after http in the cURL URL, not http:// (double slash)
Signed-off-by: ohadschn <ohad188@gmail.com>
| ... | ... |
@@ -29,7 +29,7 @@ later, as these versions have the `--unix-socket` flag available. To |
| 29 | 29 |
run `curl` against the daemon on the default socket, use the |
| 30 | 30 |
following: |
| 31 | 31 |
|
| 32 |
- curl --unix-socket /var/run/docker.sock http://containers/json |
|
| 32 |
+ curl --unix-socket /var/run/docker.sock http:/containers/json |
|
| 33 | 33 |
|
| 34 | 34 |
If you have bound the Docker daemon to a different socket path or TCP |
| 35 | 35 |
port, you would reference that in your cURL rather than the |