mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
fix some incorrect symbols before executing command (cherry picked from commit 9e9ba1e1c1235c3bdb7a70a0a9d0c5932d5afe9e) Signed-off-by: Misty Stanley-Jones <misty@docker.com>
34 lines
894 B
Markdown
34 lines
894 B
Markdown
<!--[metadata]>
|
|
+++
|
|
draft = true
|
|
+++
|
|
<![end-metadata]-->
|
|
|
|
|
|
|
|
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.
|
|
|
|
My process is as following:
|
|
|
|
$ boot2docker ssh
|
|
root@boot2docker:/# git clone https://github.com/docker/docker
|
|
root@boot2docker:/# cd docker/docs/articles/https
|
|
root@boot2docker:/# 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`)
|
|
|
|
root@boot2docker:/# sudo make run
|
|
|
|
Start another terminal:
|
|
|
|
$ boot2docker ssh
|
|
root@boot2docker:/# cd docker/docs/articles/https
|
|
root@boot2docker:/# make client
|
|
|
|
The last will connect first with `--tls` and then with `--tlsverify`, both should succeed.
|