HostOnNet Blog

Install Docker on Ubuntu 16.04

Looking for Linux Server Admin or WordPress Expert? We can help.

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

1
2
3
4
5
6
apt -y remove docker docker-engine
apt -y 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 update
apt -y install docker-ce

Back to Docker.

Posted in Linux

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.