How to Install Docker Repository for Ubuntu Based OSes

April 18, 2017 | By thelinuxevangelist | Filed in: Tutorial.

Docker CE Repository Setup on Ubuntu Like

.

Hello Ubuntu User! This Tip Shows You Step-by-Step How to Setup the Apt Repository for Docker Comunity Edition Installation for Linux Ubuntu Based Systems.

And the Docker Ubuntu Repo dispose of Multiple Channels: stable, nightly, edge.

Finally, so this Docker Repo Setup is good also for:

  • Mint
  • Lubuntu
  • Kubuntu
  • Xubuntu
  • Zorin OS
  • Elementary OS
  • feren OS
  • LXLE Linux
  • Linux Lite
  • Bodhi Linux
  • Kde Neon
  • Peppermint Linux
  • Q4OS Linux
  • Linux Ultimate Edition

Docker is a Command-line Program, a background Daemon, and a set of Remote Services that take a Logistical Approach to Solving common Software Sroblems and Simplifying your experience Installing, Running, Publishing, and Removing Software.

Getting-Started with Docker on Ubuntu 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 Ubuntu and Mint Linux - Featured
  1. Open a Shell session
    (Press “Enter” to Execute Commands)

    Docker CE Apt Repository Setup on Ubuntu/Mint - Open Terminal Shell Emulator
  2. Add the Docker CE Apt Repo
    For the ‘nightly‘ Channel:

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

    Instead, for the ‘stable‘ Build:

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

    Change ‘stable’ to ‘nightly’ for the Latest in All the below…
    For Mint 19.x, Elementary Juno, Zorin 13, Bodhi 5, Lite 4:

    sudo add-apt-repository \
    "deb [arch=amd64] \
    https://download.docker.com/linux/ubuntu \
    bionic stable"

    For Mint 18.x, Elementary Loki, Zorin 12, Bodhi 4, Lite 3:

    sudo add-apt-repository \
    "deb [arch=amd64] \
    https://download.docker.com/linux/ubuntu \
    xenial stable"

    For Mint 17.x instead:

    sudo add-apt-repository \
    "deb [arch=amd64] \
    https://download.docker.com/linux/ubuntu \
    trusty stable"
  3. Import the Docker CE GPG Key

    curl -fsSL \
    https://download.docker.com/linux/ubuntu/gpg | \
    sudo apt-key add -
  4. Last Refresh the Repositories

    sudo apt update

    If Not found for the Latest Ubuntu Release then Amend it manually with:

    sudo nano /etc/apt/sources.list

    And for instance, Change:

    https://download.docker.com/linux/ubuntu eoan

    In the Previous release like:

    https://download.docker.com/linux/ubuntu cosmic

    Ctrl+x to Save & Exit from nano ;)

  5. Docker Quick Start for Ubuntu/Mint

    Docker Quick Start Guide

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