Skip to content

Installer script fails #14911

@saschaarthur

Description

@saschaarthur

Hey,

I want to inform you that your installer script (curl -sSL https://get.docker.com/ | sh) fails for debian 8.1.

The reason:

Your Code:

if [ -z "$lsb_dist" ] && [ -r /etc/lsb-release ]; then
    lsb_dist="$(. /etc/lsb-release && echo "$DISTRIB_ID")"
    dist_version="$(. /etc/lsb-release && echo "$DISTRIB_CODENAME")"
fi

The file which leads to the fail:

# cat /etc/lsb-release
DISTRIB_ID=Debian
DISTRIB_RELEASE=8
DISTRIB_CODENAME=
DISTRIB_DESCRIPTION=

Whats wrong:

it copys "deb https://apt.dockerproject.org/repo debian- main" to repo ist, but it should be "deb https://apt.dockerproject.org/repo debian-jessie main"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions