How to install Docker on Xubuntu 18.04

How to install Docker on Xubuntu 18.04

Docker is one of the most important tools for modern web development, docker used by developers, devops and system administrators. In this short tutorial i will show you how to install docker community edition (CE) on xubuntu 18.04 bionic.

How to install Docker CE on Xubuntu 18.04
  • make sure the old docker (docker.io) is uninstalled if previously installed 
  • run update command
  • sudo apt-get update
  • install programs needed to add docker ce repo
  • sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
  • add docker gpg key
  • curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
  • add repo for docker ce xubuntu/ubuntu 18.04
  • sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
  • run update command again
  • sudo apt-get update
  • install docker ce
  • sudo apt-get install docker-ce
  • done!

Share this

Previous
Next Post »