Skip to main content
Skip table of contents

Installing Docker

For Debian-based Linux systems

  1. Install Dependency packages

    CODE
    sudo apt-get update
    sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common
  2. Add Docker's official GPG key:

    CODE
    curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -


  3. Add the Docker repository

    CODE
    sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(. /etc/os-release; echo "$UBUNTU_CODENAME") stable"
    cat /etc/apt/sources.list.d/additional-repositories.list
    -should show "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
  4. Install Docker Engine and Docker Compose

    CODE
    sudo apt-get update
    sudo apt-get -y install docker-ce docker-compose
  5. Add a user to the group to run docker commands as a nonprivileged user.

    CODE
    sudo usermod -aG docker $USER
  6. Log out and log back in so that the group membership is re-evaluated.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.