SOLVED: Docker-ce package install on Debian 8.7 error

Hi guys,

I’ve just tried to setup Docker on a fresh Debian 8.7 using the instructions on https://docs.docker.com/engine/installation/linux/debian/#next-steps
and had an error shown below.

Debian 8.7
docker-ce 17.03.0~ce-0~debian-jessie
Repo: deb [arch=amd64] download.docker.com/linux/debian jessie stable

Did I miss something?

Details below and server name changed to silly :slight_smile:

# apt-get install docker-ce Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: docker-ce 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/19.0 MB of archives. After this operation, 87.8 MB of additional disk space will be used. Selecting previously unselected package docker-ce. (Reading database ... 18962 files and directories currently installed.) Preparing to unpack .../docker-ce_17.03.0~ce-0~debian-jessie_amd64.deb ... Unpacking docker-ce (17.03.0~ce-0~debian-jessie) ... Processing triggers for systemd (215-17+deb8u6) ... Setting up docker-ce (17.03.0~ce-0~debian-jessie) ... Job for docker.service failed. See 'systemctl status docker.service' and 'journalctl -xn' for details. invoke-rc.d: initscript docker, action "start" failed. dpkg: error processing package docker-ce (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: docker-ce E: Sub-process /usr/bin/dpkg returned an error code (1)# systemctl -l status docker.service
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled)
Active: failed (Result: exit-code) since Sun 2017-03-19 18:19:24 EDT; 24s ago
Docs: https://docs.docker.com
Process: 13158 ExecStart=/usr/bin/dockerd -H fd:// (code=exited, status=1/FAILURE)
Main PID: 13158 (code=exited, status=1/FAILURE)

Mar 19 18:19:23 silly systemd[1]: Starting Docker Application Container Engine... Mar 19 18:19:23 silly dockerd[13158]: time="2017-03-19T18:19:23.673019197-04:00" level=info msg="libcontainerd: new containerd process, pid: 13164" Mar 19 18:19:24 silly dockerd[13158]: time="2017-03-19T18:19:24.678804352-04:00" level=fatal msg="Your Linux kernel version 2.6.32-042stab116.2 is not supported for running docker. Please upgrade your kernel to 3.10.0 or newer." Mar 19 18:19:24 silly systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE Mar 19 18:19:24 silly systemd[1]: Failed to start Docker Application Container Engine. Mar 19 18:19:24 silly systemd[1]: Unit docker.service entered failed state.

msg="Your Linux kernel version 2.6.32-042stab116.2 is not supported for running docker. Please upgrade your kernel to 3.10.0 or newer."

The VPS provider installed Debian 8.7 with kernel version 2.6.32.