Dieses Blog durchsuchen

Montag, 8. August 2016

install docker on ubuntu 16.04



Docker is the most common virtualisation software in the linux world and it's widly used in the webworld. To explain what docker is, seems to be a little off topic. So here is how to install it.

If you want to have some deeper inforamtion about docker, you can follow this link: 
https://www.docker.com/what-docker

Prerequisits

Install a nonrootuser with sudo rights
usermod -aG sudo <your username>

Installation

Update your APT
$ apt-get update

Add a GPG Code  to access Docker Reposotory
$ sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 
58118E89F3A912897C070ADBF76221572C52609D

Add docker to the apt sources
$ echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list
$ apt-get update 
 

> Install app
$ apt-get install -y docker-engine

Test status
$ sudo systemctl status docker

it should output something like that:


Thats it. Docker is running on you machine.

Keine Kommentare:

Kommentar veröffentlichen