Eval "$(docker-machine env default)" fails with "Error checking TLS connection: exit status 126"

Expected behavior

I don’t know

Actual behavior

Error checking TLS connection: exit status 126

Information

  • the output of:
    • pinata diagnose -u on OSX
      OS X: version 10.11.3 (build: 15D21)
      Docker.app: version v1.11.1-beta11
      Running diagnostic tests:
      Error docker ps: timeout after 10.00s
      [ERROR] docker-cli docker ps failed: Misc.Failure
      Error docker ps: timeout after 10.00s
      [OK] docker-cli
      Thread 6 killed on uncaught exception Misc.Failure
      [OK] Moby booted
      [OK] driver.amd64-linux
      [OK] vmnetd
      [OK] osxfs
      [OK] db
      [OK] slirp
      [OK] menubar
      [ERROR] environment the variables DOCKER_CERT_PATH DOCKER_TLS_VERIFY DOCKER_HOST should not be set
      [OK] Docker
      [OK] VT-x
      Docker logs are being collected into /tmp/20160515-220948.tar.gz
      Most specific failure is: the variables DOCKER_CERT_PATH DOCKER_TLS_VERIFY DOCKER_HOST should not be set
      Your unique id is: D6F8A6B4-F741-4E12-B236-896068E0DB81
      Please quote this in all correspondence.

Steps to reproduce the behavior

  1. eval “$(docker-machine env default)”

pinata output was sufficient, it’s just that I had become impatient and didn’t read it.

Removing DOCKER_CERT_PATH, DOCKER_HOST, DOCKER_TLS_VERIFY from .bash_profile (which was probably added by a previous boot2docker installation) fixed it.

1 Like