How-to SetUp the Docker Apt Repository for Debian Based OSes

April 19th, 2017 by thelinuxevangelist

Docker CE Apt Repository Setup on Debian 64bit

Hello Debian User! This Tip Shows You Step-by-Step How-to Setup the Apt Repository for Docker Comunity Edition Installation on Linux Debian and derived like Kali GNU/Linux.

Docker is a Command-line Program, a background Daemon, and a set of Remote Services that take a logistical approach to solving common software problems and simplifying your experience installing, running, publishing, and removing software.

Getting-Started with Docker on Debian is Easy, it’s enough to Install it and then Use the Docker Engine to Create and Manage Containers.

How-to SetUp the Docker Apt Repository for Debian - Featured
  1. Open a Shell Terminal emulator window
    (Press “Enter” to Execute Commands)

    How-to SetUp the Docker Apt Repository for Debian - Debian Gnome3 Open Terminal
  2. Install Required Packages

    sudo apt-get install apt-transport-https curl
  3. Add the Docker CE Repository
    For Debian 7/8/9:

    sudo add-apt-repository \
    "deb [arch=amd64] \
    $(lsb_release -cs) stable"

    For Kali at this Time proceed like this:

    sudo echo \
    "deb [arch=amd64] \ \
    stretch stable" > \

    Then for the Debian Stable Based:

    sudo add-apt-repository \
    "deb [arch=amd64] \ \
    stretch stable"

    For the Debian Testing based:

    sudo add-apt-repository \
    "deb [arch=amd64] \ \
    stretch stable"

    And now for the Debian Unstable/Sid based again:

    sudo add-apt-repository \
    "deb [arch=amd64] \ \
    stretch stable"
  4. Import the Docker CE GPG Key

    curl -fsSL \ | \
    sudo apt-key add -
  5. Last Refresh the Repositories

    sudo apt update
  6. Docker Quick-Start for Debian Based

    Docker Quick-Start Guide

Tags: , , , , , , , , , , , , , , , , , , , , , , , ,