Downgrading Docker on Debian 8

Docker 1.10+ causes a kernel panic in the 3.16 kernel that ships with Debian 8. Downgrading the docker package and holding it is one solution.

  1. apt-cache policy docker-engine

    • 1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      17
      18
      19
      20
      21
      22
      23
      24
      25
      26
      27
      28
      29
      30
      31
      32
      33
      34
      35
      36
      37
      38
      39
      40
      41
      42
      43
      44
      45
      46
      47
      48
      49
      docker-engine:
      Installed: 1.12.2-0~jessie
      Candidate: 1.12.2-0~jessie
      Version table:
      *** 1.12.2-0~jessie 0
      500 http://apt.dockerproject.org/repo/ debian-jessie/main amd64 Packages
      100 /var/lib/dpkg/status
      1.12.1-0~jessie 0
      500 http://apt.dockerproject.org/repo/ debian-jessie/main amd64 Packages
      1.12.0-0~jessie 0
      500 http://apt.dockerproject.org/repo/ debian-jessie/main amd64 Packages
      1.11.2-0~jessie 0
      500 http://apt.dockerproject.org/repo/ debian-jessie/main amd64 Packages
      1.11.1-0~jessie 0
      500 http://apt.dockerproject.org/repo/ debian-jessie/main amd64 Packages
      1.11.0-0~jessie 0
      500 http://apt.dockerproject.org/repo/ debian-jessie/main amd64 Packages
      1.10.3-0~jessie 0
      500 http://apt.dockerproject.org/repo/ debian-jessie/main amd64 Packages
      1.10.2-0~jessie 0
      500 http://apt.dockerproject.org/repo/ debian-jessie/main amd64 Packages
      1.10.1-0~jessie 0
      500 http://apt.dockerproject.org/repo/ debian-jessie/main amd64 Packages
      1.10.0-0~jessie 0
      500 http://apt.dockerproject.org/repo/ debian-jessie/main amd64 Packages
      1.9.1-0~jessie 0
      500 http://apt.dockerproject.org/repo/ debian-jessie/main amd64 Packages
      1.9.0-0~jessie 0
      500 http://apt.dockerproject.org/repo/ debian-jessie/main amd64 Packages
      1.8.3-0~jessie 0
      500 http://apt.dockerproject.org/repo/ debian-jessie/main amd64 Packages
      1.8.2-0~jessie 0
      500 http://apt.dockerproject.org/repo/ debian-jessie/main amd64 Packages
      1.8.1-0~jessie 0
      500 http://apt.dockerproject.org/repo/ debian-jessie/main amd64 Packages
      1.8.0-0~jessie 0
      500 http://apt.dockerproject.org/repo/ debian-jessie/main amd64 Packages
      1.7.1-0~jessie 0
      500 http://apt.dockerproject.org/repo/ debian-jessie/main amd64 Packages
      1.7.0-0~jessie 0
      500 http://apt.dockerproject.org/repo/ debian-jessie/main amd64 Packages
      1.6.2-0~jessie 0
      500 http://apt.dockerproject.org/repo/ debian-jessie/main amd64 Packages
      1.6.1-0~jessie 0
      500 http://apt.dockerproject.org/repo/ debian-jessie/main amd64 Packages
      1.6.0-0~jessie 0
      500 http://apt.dockerproject.org/repo/ debian-jessie/main amd64 Packages
      1.5.0-0~jessie 0
      500 http://apt.dockerproject.org/repo/ debian-jessie/main amd64 Packages
  2. apt-get install docker-engine=1.9.1-0~jessie

  3. apt-mark hold docker-engine

  4. Reboot

  5. You may need to delete this file if docker fails to start.

    • rm /var/lib/docker/network/files/local-kv.db