Docker Community Forums

Share and learn in the Docker community.

Didn't work just after installation


(Antonio Terreno) #1

Expected behavior

Well command line working…

Actual behavior

client is newer than server (client API version: 1.23, server API version: 1.22)

Information

  • the output of:
    • pinata diagnose -u on OSX
OS X: version 10.11.4 (build: 15E65)
Docker.app: version v1.11.0-beta7
Running diagnostic tests:
[OK]      docker-cli
[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_MACHINE_NAME DOCKER_HOST should not be set
[OK]      Docker
[OK]      VT-x
Docker logs are being collected into /tmp/20160419-084707.tar.gz
Most specific failure is: the variables DOCKER_CERT_PATH DOCKER_TLS_VERIFY DOCKER_MACHINE_NAME DOCKER_HOST should not be set
Your unique id is: B120A510-C4C1-4F73-AB58-C06DA5D6A329
Please quote this in all correspondence.

Steps to reproduce the behavior

  1. Install
  2. Run docker ps

I managed to get it working by running docker-machine upgrade and now I’ll remove those variables, may I suggest the installer to remove or suggest to remove those variables? Perhaps run pinata at first run?


(Antonio Terreno) #2

In fact now I commented out from my ~/.zshrc the eval $(docker-machine env) and all good without virtual box.

I hope the post helps others