HostOnNet Blog

Install Docker on Ubuntu 16.04

To install Docker on Ubuntu 16.04, run following commands as user root.

apt-get remove docker docker-engine
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 -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
apt-get update
apt-get install docker-ce

Back to Docker.


Posted in Linux