Add a little info on how to talk to the TLS encrypted Docker Socket

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
This commit is contained in:
Sven Dowideit
2014-10-15 17:24:53 +10:00
parent dc243c812b
commit 1c68de798f
2 changed files with 11 additions and 1 deletions

View File

@@ -178,3 +178,10 @@ location using the environment variable `DOCKER_CERT_PATH`.
$ export DOCKER_CERT_PATH=${HOME}/.docker/zone1/
$ sudo docker --tlsverify ps
### Connecting to the Secure Docker port using `curl`
To use `curl` to make test API requests, you need to use three extra command line
flags:
$ curl --insecure --cert ~/.docker/cert.pem --key ~/.docker/key.pem https://boot2docker:2376/images/json`