Skip to content

Instantly share code, notes, and snippets.

@nani1337
Created August 29, 2018 09:39
Show Gist options
  • Save nani1337/70e7c2aabc1916a1a6aab40c0e31bbb2 to your computer and use it in GitHub Desktop.
Save nani1337/70e7c2aabc1916a1a6aab40c0e31bbb2 to your computer and use it in GitHub Desktop.
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