A quick snippet for ubuntu 16.04 to install docker-ce sudo apt-get update sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ software-properties-common curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs)\ stable" sudo apt-get update sudo apt-get install -y --allow-unauthenticated docker-ce sudo usermod -aG docker ubuntu

Continue reading

Ubuntu APT

Few TIPs for Ubuntu APT: apt dist-upgrade will upgrade and remove packages, while apt upgrade will only upgrade. apt purge will remove any installed file including config, while apt remove will only remove installed package. lsb_release -a can check current ubuntu version apt-cache policy <package> can check available package version and source: $ sudo apt-cache policy python-django python-django: Installed: (none) Candidate: 1.7.6-1ubuntu2.3~cloud0 Version table: 1.

Continue reading

Author's picture

LuLU

Love coding and new technologies

Cloud Solution Consultant

Canada