Skip to content

Instantly share code, notes, and snippets.

@soxfmr
Created May 4, 2017 04:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save soxfmr/e9942798aa1a84e711ae411b72265fff to your computer and use it in GitHub Desktop.
Save soxfmr/e9942798aa1a84e711ae411b72265fff to your computer and use it in GitHub Desktop.
Install docker on Kali Linux Distro
#!/bin/sh
# Anyway, fuck GFW
# This script was created for reduce the latency of the network on Mainland
# If you were lucky not living in such place
# Please references: https://termilus.com/blog/2016/11/04/how-to-install-docker-on-kali-linux/
echo 'deb http://mirrors.ustc.edu.cn/debian wheezy-backports main' > /etc/apt/sources.list.d/backports.list
apt-get update && apt-get install apt-transport-https ca-certificates -y
# apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo 'deb http://mirrors.ustc.edu.cn/docker-apt/repo debian-wheezy main' > /etc/apt/sources.list.d/docker.list
apt-get update && apt-get install docker-engine -y
service docker start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment