mirror of https://github.com/docker/docs.git
Merge pull request #738 from ehazlett/tls-verify-set-consistency
consistent naming for DOCKER_TLS_VERIFY env var
This commit is contained in:
commit
3b712a15e8
|
@ -523,10 +523,10 @@ func cmdEnv(c *cli.Context) {
|
|||
|
||||
switch userShell {
|
||||
case "fish":
|
||||
fmt.Printf("set -x DOCKER_TLS_VERIFY yes;\nset -x DOCKER_CERT_PATH %s;\nset -x DOCKER_HOST %s;\n",
|
||||
fmt.Printf("set -x DOCKER_TLS_VERIFY 1;\nset -x DOCKER_CERT_PATH %s;\nset -x DOCKER_HOST %s;\n",
|
||||
cfg.machineDir, dockerHost)
|
||||
default:
|
||||
fmt.Printf("export DOCKER_TLS_VERIFY=yes\nexport DOCKER_CERT_PATH=%s\nexport DOCKER_HOST=%s\n",
|
||||
fmt.Printf("export DOCKER_TLS_VERIFY=1\nexport DOCKER_CERT_PATH=%s\nexport DOCKER_HOST=%s\n",
|
||||
cfg.machineDir, dockerHost)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue