Docker daemon start error on ubuntu 12.04

I followed all steps given in the installation guide for Ubuntu 12.04

But, it fails when starting the docker daemon:

  • Failed to create the host-only adapter - windows 10, docker, virtualbox
  • udp client server program communication to ibm bluemix containers
  • Docker run container on different port
  • Docker MongoDB : UserNotFound
  • Jenkins pipeline: docker.withServer(…) does not execute docker commands on remote server
  • Refer to another service/task running in same ECS cluster
  • ~  sudo docker -d
    [sudo] password for prat0318:
    2014/06/10 02:26:34 docker daemon: 1.0.0 63fe64c; execdriver: native; graphdriver:
    [29daee74] +job initserver()
    [29daee74.initserver()] Creating server
    [29daee74] +job serveapi(unix:///var/run/docker.sock)
    2014/06/10 02:26:34 Listening for HTTP on unix (/var/run/docker.sock)
    Error running DeviceCreate (createPool) dm_task_run failed
    [29daee74] -job initserver() = ERR (1)
    2014/06/10 02:26:34 Error running DeviceCreate (createPool) dm_task_run failed
    

    Ubuntu version (this is a Digital Ocean droplet):

    No LSB modules are available.
    Distributor ID: Ubuntu
    Description:    Ubuntu 12.04.4 LTS
    Release:    12.04
    Codename:   precise
    

    Linux Header version:

    apt-cache search linux-headers-$(uname -r)
    linux-headers-3.8.0-38-generic - Linux kernel headers for version 3.8.0 on 64 bit x86 SMP
    

    Log while install of lxc-docker:

    ~ sudo apt-get install lxc-docker
    
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following extra packages will be installed:
      aufs-tools cgroup-lite lxc-docker-1.0.0
    The following NEW packages will be installed:
      aufs-tools cgroup-lite lxc-docker lxc-docker-1.0.0
    0 upgraded, 4 newly installed, 0 to remove and 94 not upgraded.
    Need to get 4,509 kB of archives.
    After this operation, 18.0 MB of additional disk space will be used.
    Do you want to continue [Y/n]? 
    Get:1 http://get.docker.io/ubuntu/ docker/main lxc-docker-1.0.0 amd64 1.0.0 [4,404 kB]
    Get:2 http://mirrors.digitalocean.com/ubuntu/ precise/universe aufs-tools amd64 1:3.0+20111101-1ubuntu1 [98.8 kB]
    Get:3 http://get.docker.io/ubuntu/ docker/main lxc-docker amd64 1.0.0 [1,786 B]              
    Get:4 http://mirrors.digitalocean.com/ubuntu/ precise-updates/main cgroup-lite all 1.1.5 [4,098 B]
    Fetched 4,509 kB in 0s (7,336 kB/s)
    Selecting previously unselected package aufs-tools.
    (Reading database ... 88672 files and directories currently installed.)
    Unpacking aufs-tools (from .../aufs-tools_1%3a3.0+20111101-1ubuntu1_amd64.deb) ...
    Selecting previously unselected package cgroup-lite.
    Unpacking cgroup-lite (from .../cgroup-lite_1.1.5_all.deb) ...
    Selecting previously unselected package lxc-docker-1.0.0.
    Unpacking lxc-docker-1.0.0 (from .../lxc-docker-1.0.0_1.0.0_amd64.deb) ...
    Selecting previously unselected package lxc-docker.
    Unpacking lxc-docker (from .../lxc-docker_1.0.0_amd64.deb) ...
    Processing triggers for man-db ...
    Processing triggers for ureadahead ...
    Setting up aufs-tools (1:3.0+20111101-1ubuntu1) ...
    Setting up cgroup-lite (1.1.5) ...
    cgroup-lite start/running
    Setting up lxc-docker-1.0.0 (1.0.0) ...
    docker start/running, process 15391
    Setting up lxc-docker (1.0.0) ...
    Processing triggers for libc-bin ...
    ldconfig deferred processing now taking place
    

    I have tried to even reboot and logout/login from the vps, but to no avail.

  • Cutting / Formatting a docker service command
  • How does Docker run a Linux kernel under macOS host?
  • Setting $PATH in docker image?
  • Docker for HOME directory for nltk?
  • How to link my custom domain to a bluemix container
  • Installation of chef-client(Bootstrapping) on docker container in a VM on Azure/AWS
  • 2 Solutions collect form web for “Docker daemon start error on ubuntu 12.04”

    Most likely your Docker daemon is already running.

    Check if the daemon service is running:

    thomas@tmp:~$ sudo service docker status
    docker start/running, process 2593
    

    Ask the Docker daemon to report its version:

    thomas@tmp:~# sudo docker version
    Client version: 1.0.0
    Client API version: 1.12
    Go version (client): go1.2.1
    Git commit (client): 63fe64c
    Server version: 1.0.0
    Server API version: 1.12
    Go version (server): go1.2.1
    Git commit (server): 63fe64c
    

    Update: To help people who are still facing the issue, there is a Github issue that i filed earlier which has substantive discussion over it.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.