Tuesday, 17 November 2015

How to install Docker in Debian 8

Steps(run these commands as root)
1-apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
2-echo "deb https://apt.dockerproject.org/repo debian-jessie main">>/etc/apt/sources.list.d/docker.list
3-apt-get update
4-apt-get install docker-engine
5-service docker start
6-docker run hello-world
Now you can docker as root but not as a normal user.Make a user group to run Docker as a normal user.
7-gpasswd -a changethisToNormalUsername docker
Done :)
Adapted from https://docs.docker.com/engine/installation/debian/#debian-jessie-80-64-bit

No comments:

Post a Comment