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.

  • What components should be “containerized” - Docker
  • Access binaries inside docker
  • How to give docker exclusive access to cpus?
  • When dockerizing a rails app with EC2 container service with ELB do I still need nginx?
  • Run a docker with specific ip address
  • Docker: Error pulling image (latest) from imageStack, operation not supported
  • why I can't ping my docker container?
  • Docker 1.12 certificate missing using daemon.json file
  • php-fpm & nginx in separated docker container, can not execute .php file
  • How to run docker builds from Jenkins on a Mac?
  • Does 'docker start' execute the CMD command?
  • install docker on network drive
  • 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.