Docker Community Forums

Share and learn in the Docker community.

Docker - can't install on debian

Hello. I can’t install docker on Debian 8. When I type install command : curl https://get.docker.com/ | sh I see these errors :
(ignore “X” behind the https)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 13857 100 13857 0 0 37993 0 --:–:-- --:–:-- --:–:-- 38068

Executing docker install script, commit: 3d8fe77c2c46c5b7571f94b42793905e5b3e42e4

  • sh -c apt-get update -qq >/dev/null
    W: Failed to download Xhttps://download.docker.com/linux/debian/dists/jessie/InRelease The expected entry could not be found “stable/binary-i386/Packages” in file Release (invalid entry sources.list or invalid file)

W: Failed to download Xhttps://download.docker.com/linux/ubuntu/dists/trusty/InRelease The expected entry could not be found “stable/binary-i386/Packages” in file Release (invalid entry sources.list or invalid file)

W: Failed to download Xhttps://apt.dockerproject.org/repo/dists/debian-jessie/main/binary-i386/Packages Could not resolve host: apt.dockerproject.org

E: Some index files could not be retrieved, ignored, or an older version was used.

My sources.list :

GNU nano 2.2.6 Plik: /etc/apt/sources.list

deb cdrom:[Debian GNU/Linux 8.11.1 Jessie - Official i386 NETINST Binary-1 $

#deb cdrom:[Debian GNU/Linux 8.11.1 Jessie - Official i386 NETINST Binary-1 2$

deb Xhttp://ftp.pl.debian.org/debian/ jessie main
deb-src Xhttp://ftp.pl.debian.org/debian/ jessie main

deb Xhttp://security.debian.org/ jessie/updates main
deb-src Xhttp://security.debian.org/ jessie/updates main

deb [arch=i386] Xhttps://download.docker.com/linux/debian jessie stable

deb-src [arch=i386] Xhttps://download.docker.com/linux/debian jessie stable

deb Xhttps://download.docker.com/linux/ubuntu trusty stable
deb [arch=amd64] Xhttps://download.docker.com/linux/debian jessie stable

deb-src [arch=amd64] Xhttps://download.docker.com/linux/debian jessie stable