Created
August 29, 2018 09:39
-
-
Save nani1337/70e7c2aabc1916a1a6aab40c0e31bbb2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To install Docker in Kali, these were the steps I followed: | |
Create a backports file and add the entry for Debian Wheezy: | |
echo 'deb http://http.debian.net/debian wheezy-backports main' > /etc/apt/sources.list.d/backports.list && apt-get update | |
Install ca-certificates and allow APT to operate via https: | |
apt-get install apt-transport-https ca-certificates | |
Add the appropriate GPG key: | |
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
Add the appropriate Docker source entry: | |
echo 'deb https://apt.dockerproject.org/repo debian-wheezy main' > /etc/apt/sources.list.d/docker.list && apt-get update | |
Install Docker and start its service: | |
apt-get install docker-engine && service docker start | |
Verify that Docker is working: | |
docker run hello-world |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment