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
    • 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
Comments