Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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