Skip to content

Clarify whether a unique repository can be used both for Debian and Raspbian #2098

@jcberthon

Description

@jcberthon

File: engine/installation/linux/debian.md

Previous version of this document had clearer instruction on how to setup the Deb repository for Raspbian. In current release, Raspbian is still mentioned in the supported OS, but there is no longer a specific version for it.

Current document state:

$ sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/debian \
   $(lsb_release -cs) \
   stable"

It seems that for Raspbian we could possibly use:

$ sudo add-apt-repository \
   "deb [arch=armhf] https://download.docker.com/linux/debian \
   $(lsb_release -cs) \
   stable"

But that does not work. The add-apt-repository command does not work on Raspbian. What I did is the following:

$ echo "deb [arch=armhf] https://download.docker.com/linux/debian \
   $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list

That seems to work and I am able to install docker-ce but when doing sudo apt-get update I have the following warning:

W: Conflicting distribution: https://download.docker.com jessie InRelease (expected jessie but got )

Anyway, previous Docker release (e.g. 1.13.1) supported Debian and Raspbian for armhf (there was 2 distinct deb packages). The documentation is unclear now if a unique repository can be used for both Debian and Raspbian.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions