1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/docker
Michael Crosby 712e8da885 Remove client key.json generation for trust
This removes the key generation for trust from main while it is not
being consumed.  The problem is that because this is being set in main
if a user runs as root initially the files will be owned by root.  Later
if the user sets up the docker group they are unable to read the keys.
This is half a user error and documentation problem and the other half
is management.

We decided to remove this code for now while it is not being used and
will revisit it later when the consuming features are added.  A few
options are to generate lazily and provide a clear error message on an
EPERM so that the user knows what is wrong and can correct the
permissions.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2014-10-14 17:16:45 +00:00
..
client.go Use argv0 as reexec implementation for dockerinit 2014-08-11 11:47:21 -07:00
daemon.go Remove client key.json generation for trust 2014-10-14 17:16:45 +00:00
docker.go Remove client key.json generation for trust 2014-10-14 17:16:45 +00:00
flags.go Add DOCKER_TLS_VERIFY environment variable, equivalent to --tlsverify flag 2014-10-13 11:49:26 +01:00
README.md Add README.md file for the docker directory 2014-05-20 09:04:46 +00:00

docker.go contains Docker's main function.

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