cant start docker after installation on linux

hy
On my CentOS Linux release 6.0 with kernel version 3.15.7-1.el6.elrepo.x86_64, i’ve installed docker like that

yum install docker-io  it's ok 

but when i try to start docker i get this

  • Windows Server 2016 Docker - cant install webfarm components to microsoft/iis image
  • Why isn't nginx handling requests in this docker-compose/django setup?
  • `docker run` output to bash variable - strange behaviour
  • Why env variables are not created automatically?
  • Consul watch with critical consul checks
  • Docker build freezes installing packages from apt
  •  /etc/init.d/docker start  
    Starting docker:                                           [  OK  ]
    

    in the log file i see this

    [5b73ca03] +job serveapi(unix:///var/run/docker.sock)
    [5b73ca03] +job initserver()
    [5b73ca03.initserver()] Creating server
    2014/07/30 13:52:24 Listening for HTTP on unix (/var/run/docker.sock)
    exit status 1
    [5b73ca03] -job initserver() = ERR (1)
    2014/07/30 13:52:25 exit status 1
    

    i really dont understand why i get -job initserver() = ERR (1) i read a lot of tutorial for install docker on centos, i also try to add in fstab ” none /sys/fs/cgroup cgroup defaults 0 0 ”
    when i try grep aufs /proc/filesystems i see nothing that normal ?

  • CentOS 7 : docker in docker: “Error: No space left on device”
  • Connecting the Docker Daemon insde the CDK on RHEL based docker images
  • Cannot exec into docker container due to application
  • build docker image with dockerfile by jenkins
  • How to run aiohttp with gunicorn in docker container?
  • Difference between Docker container and service
  • 3 Solutions collect form web for “cant start docker after installation on linux”

    for resolve my problem i use nsenter

    https://github.com/jpetazzo/nsenter

    And i use this script for have a automatic connection on the contenair i’ve only one contenair up !

    #!/bin/bash 
    CONTAINER_ID=`docker ps --no-trunc | sed -n 2p | tr -s ' ' | cut -d' ' -f1`
    PID=`docker inspect --format '{{ .State.Pid }}' $CONTAINER_ID`
    nsenter -m -u -n -i -p -t $PID /bin/bash
    

    Try logging out and then back in again first.

    i get this reponse from unclejack on github
    That setup is unsupported. Please upgrade to RHEL7 if you want to use a newer kernel than what CentOS 6 ships.

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