How-to Install Docker Repository for Ubuntu Based OSes

April 18th, 2017 by thelinuxevangelist

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.

So this Docker Repo Setup is good also for:

  • Mint
  • Lubuntu
  • Kubuntu
  • Xubuntu
  • Zorin OS
  • Elementary OS
  • LXLE Linux
  • Linux Lite
  • Bodhi Linux
  • Linux Ultimate Edition
  • Linux Peppermint

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 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 Ubuntu/Lubuntu/Kubuntu/Xubuntu 14.04/16.04/16.10/18.04:

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

    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
  5. Docker Quick-Start for Ubuntu/Mint

    Docker Quick-Start Guide

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