mirror of
https://github.com/clearlinux/docker.git
synced 2026-10-03 15:28:35 +00:00
Rename DOCKER_CONFIG envvar to DOCKER_CERT_PATH
DOCKER_CONFIG was introduced in #6984. We may use "config" for other purposes (e.g. #7232). Until we have made a design decision around how configuration files will work, DOCKER_CERT_PATH is a much safer name to rely on for future compatibility. Docker-DCO-1.1-Signed-off-by: Ben Firshman <ben@firshman.co.uk> (github: bfirsh)
This commit is contained in:
@@ -125,7 +125,7 @@ Docker in various other modes by mixing the flags.
|
||||
If found, the client will send its client certificate, so you just need
|
||||
to drop your keys into `~/.docker/<ca, cert or key>.pem`. Alternatively,
|
||||
if you want to store your keys in another location, you can specify that
|
||||
location using the environment variable `DOCKER_CONFIG`.
|
||||
location using the environment variable `DOCKER_CERT_PATH`.
|
||||
|
||||
$ export DOCKER_CONFIG=${HOME}/.dockers/zone1/
|
||||
$ export DOCKER_CERT_PATH=${HOME}/.dockers/zone1/
|
||||
$ docker --tlsverify ps
|
||||
|
||||
Reference in New Issue
Block a user