moby--moby/docs/articles/https
Qiang Huang 81cc8ebc93 Change all docker -d to docker daemon
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2015-08-10 20:48:08 +08:00
..
Dockerfile retooling for hugo 2015-06-15 13:19:38 -07:00
Makefile Change all docker -d to docker daemon 2015-08-10 20:48:08 +08:00
README.md Remove `sources/` under `docs` directory 2015-06-16 19:15:48 +09:00
make_certs.sh retooling for hugo 2015-06-15 13:19:38 -07:00
parsedocs.sh retooling for hugo 2015-06-15 13:19:38 -07:00

README.md

This is an initial attempt to make it easier to test the examples in the https.md doc

at this point, it has to be a manual thing, and I've been running it in boot2docker

so my process is

$ boot2docker ssh

 git clone https://github.com/docker/docker
$$ cd docker/docs/articles/https
$$ make cert
lots of things to see and manually answer, as openssl wants to be interactive
**NOTE:** make sure you enter the hostname (`boot2docker` in my case) when prompted for `Computer Name`)
$$ sudo make run

start another terminal

$ boot2docker ssh
$$ cd docker/docs/articles/https
$$ make client

the last will connect first with `--tls` and then with `--tlsverify`

both should succeed