Created
May 4, 2017 04:10
-
-
Save soxfmr/e9942798aa1a84e711ae411b72265fff to your computer and use it in GitHub Desktop.
Install docker on Kali Linux Distro
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
#!/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