Docker Client server different. And there is no boot2docker

My machine debian VM. It is not having boot2docker.
Docker was installed in it. I somehow updated docker.It is now giving me error of client and server of not same version.
by running “docker version” gives me this
Client version: 1.4.1
Client API version: 1.16
Go version (client): go1.3.3
Git commit (client): 5bc2ff8
OS/Arch (client): linux/amd64
FATA[0000] Error response from daemon: client and server don’t have same version (client : 1.16, server: 1.15)

Thanks in advance.

  • Creating an environmental variable within Docker container when starting up
  • Adding SSL certificates to Website to Docker
  • docker on OSX slow volumes
  • Run Teampass in docker with a running nginx proxy
  • Docker MEAN stack which FROM to use?
  • Running a simple webserver in Docker?
  • Docker exec - Write text to file in container
  • Syslog driver in Logstash docker image causing port “timed out” error
  • Configure fluentd to properly parse and ship java stacktrace,which is formatted using docker json-file logging driver,to elastic as single message
  • Add your application to a Docker image
  • NGINX-Proxy: Running multiple ports tied to different virtual hosts on one container
  • Mysql installation on docker container
  • 2 Solutions collect form web for “Docker Client server different. And there is no boot2docker”

    If you do not have images or containers you wish to keep, remove and install again the latest docker version, with sudo apt-get remove lxc-docker && sudo apt-get purge lxc-docker && sudo apt-get install lxc-docker

    One way to deal with this is dvm, the Docker Version Manager.

    Clone it to, e.g. ~/.dvm:

    git clone https://github.com/rgbkrk/dvm.git ~/.dvm
    

    Then you need to source it directly or place it in your bash profile:

    . ~/.dvm/dvm.sh
    

    After this, install the version of docker you need:

    $ dvm install 1.6.1
    ######################################################################## 100.0%
    Now using Docker 1.6.1
    

    You can swap between versions through dvm use VERSION:

    $ dvm use 1.8.2
    Now using Docker 1.8.2 
    
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.