Ubuntu 16.04: Install docker-engine


Table of Contents

1 Install docker-engine

The following script will install docker-engine.

#!/bin/shsudo apt-get install -y curl apt-transport-https software-properties-common ca-certificatescurl -fsSL | sudo apt-key add -sudo add-apt-repository “deb ubuntu-$(lsb_release -cs) main”sudo apt-get update -ysudo apt-get install -y docker-enginesudo systemctl start dockersudo systemctl enable dockersudo gpasswd -a hiroom2 dockersudo reboot

2 Execution result

Run hello-world.

$ docker run hello-world<snip>Hello from Docker!<snip>

Android | Linux | SDL - Narrow Escape