Pak Jiddat

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


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 \
Next we need to add Docker's official GPG key using the command:
curl -fsSL$(. /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]$(. /etc/os-release; echo "$ID") \
   $(lsb_release -cs) \
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. Viewing package information using yum history command
  2. Installing latest version of Php
  3. Upgrading Postgresql from version 9.4 to 9.6
  4. Upgrading MySQL server from version 5.6 to 8.0
  5. Upgrading R from version 3.0 to 3.5
  6. Using PSCP command for copying files and directories
  7. Rocket Chat migration error
  8. Upgrading Rocket Chat to latest version
  9. Rocket Chat startup script
  10. Installing modules in Odoo 10.0
  11. Installing NodeJS on Ubuntu
  12. Installing W3C Markup Validator on Debian Jessie