1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/docs/security/https
Vincent Demeester af9378f713 Merge pull request #25996 from yuexiao-wang/fix-docker-daemon
Replace docker command from 'docker daemon' to 'dockerd'
(cherry picked from commit aff33055ac)

Signed-off-by: Charles Smith <charles.smith@docker.com>
2016-09-06 11:06:57 -07:00
..
Dockerfile
make_certs.sh
Makefile Merge pull request #25996 from yuexiao-wang/fix-docker-daemon 2016-09-06 11:06:57 -07:00
parsedocs.sh
README.md Fix doc format issue 2016-02-23 03:42:10 +00:00

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
$$ 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.