Pak Jiddat - Innovative Software Services

Read: In the name of thy Lord Who createth, Createth man from a clot. Read: And thy Lord is the Most Bounteous, Who teacheth by the pen, Teacheth man that which he knew not. Nay, but verily man is rebellious That he thinketh himself independent!. Lo! unto thy Lord is the return. (Sura Alalaq 96:8)

Installing Docker on Debian Jessie

Created On: 22 Nov, 2017: 19:08:56 - Tags : software installation

Url: https://docs.docker.com/engine/installation/linux/docker-ce/debian/

Docker is a solution for managing light weight containers. To install Docker on Debian Jessie, we need to first install packages to allow apt to use a repository over HTTPS. We can do this using the command:


sudo apt-get install \
     apt-transport-https \
     ca-certificates \
     curl \
     gnupg2 \
     software-properties-common
Next we need to add Docker's official GPG key using the command:
curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg | sudo apt-key add -
After that we need to install the apt repository using the command:

sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") \
   $(lsb_release -cs) \
   stable"
Next we need to install Docker Community Edition using the command:
sudo apt-get install docker-ce
Next we can test the installation by running the hello world Docker Container. We can do this using the command:
sudo docker run hello-world

Related Articles

  1. Upgrading Postgresql from version 9.4 to 9.6
  2. Installing latest version of Php
  3. Upgrading MySQL server from version 5.6 to 8.0
  4. Upgrading R from version 3.0 to 3.5
  5. Using PSCP command for copying files and directories
  6. Rocket Chat migration error
  7. Rocket Chat startup script
  8. Upgrading Rocket Chat to latest version
  9. Installing modules in Odoo 10.0
  10. Installing NodeJS on Ubuntu
  11. Installing W3C Markup Validator on Debian Jessie