How to install docker on Debian 11

Discussion in 'HOWTO-Related Questions' started by maria108, Apr 14, 2026 at 8:16 PM.

  1. maria108

    maria108 New Member

    Thankyou for the howto

    At the beginning of the howto there is a command which reads
    "apt update"

    The error message reads as follows
    E Type 'deb' is not known on line 1 in source list
    /etc/apt/sources.list.d/docker.list
    E the list of sources could not be read.
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Which howto?
    What is in that file in the first line? Or first few lines?
    Why Debian 11? Current version is 13.
     
    maria108 likes this.
  3. maria108

    maria108 New Member

    The howto is in the subject line ie
    Howto install docker on debian11

    The line that appears in

    /etc/apt/sources.list.d/docker.list

    Is as follows

    deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] download.docker.com/linux/debian bullseye stable
     

    Attached Files:

  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    What shows command
    Code:
    lsb_release -a
     

Share This Page