moby--moby/docker
Tibor Vass bfed4b7cc3 Refactor TLS code with a new `tlsconfig` package
This patch creates a new `tlsconfig` package to handle creation of
secure-enough TLS configurations for clients and servers.

The package was created by refactoring TLS code in the client and the
daemon. After this patch, it is expected that all code creating TLS
configurations use this `tlsconfig` package for greater security,
consistency and readability.

On the server side, this fixes a bug where --tlsverify was not taken
into account. Now, if specified, it will require the client to
authenticate.

Signed-off-by: Tibor Vass <tibor@docker.com>
2015-06-05 12:38:38 -04:00
..
README.md
client.go Client should use go log package. 2014-10-24 13:03:46 -07:00
daemon.go Refactor TLS code with a new `tlsconfig` package 2015-06-05 12:38:38 -04:00
docker.go Refactor TLS code with a new `tlsconfig` package 2015-06-05 12:38:38 -04:00
flags.go Refactor TLS code with a new `tlsconfig` package 2015-06-05 12:38:38 -04:00
log.go Replace aliased imports of logrus, fixes #11762 2015-03-26 23:22:04 +01:00

README.md

docker.go contains Docker's main function.

This file provides first line CLI argument parsing and environment variable setting.