mirror of
https://github.com/docker/docs.git
synced 2026-03-28 06:49:00 +07:00
DOCEKR_TLS_VERIFY was being ignored because we were just checking if the
`-tlsverify` flag was set, not the actual value, which is defaulted to
the value of `os.Getenv("DOCKER_TLS_VERIFY") != ""`
The problem that this specifically fixes is where the client has set the
`DOCKER_TLS_VERIFY` env var but is connecting to a daemon that is not
verifed.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
docker.go contains Docker's main function.
This file provides first line CLI argument parsing and environment variable setting.