From 5af0c17a8d05f8bc329f54191cf0fb577acd371c Mon Sep 17 00:00:00 2001 From: zachary Date: Mon, 6 Jul 2015 10:22:45 -0400 Subject: [PATCH] inital --- install_docker.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 install_docker.sh diff --git a/install_docker.sh b/install_docker.sh new file mode 100644 index 0000000..6f73d58 --- /dev/null +++ b/install_docker.sh @@ -0,0 +1,19 @@ +# Check that HTTPS transport is available to APT +if [ ! -e /usr/lib/apt/methods/https ]; then + apt-get update + apt-get install -y apt-transport-https +fi + +# Add the repository to your APT sources +echo deb https://get.docker.com/ubuntu docker main > /etc/apt/sources.list.d/docker.list + +# Then import the repository key +apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 + +# Install docker +apt-get update +apt-get install -y lxc-docker-1.5.0 + +# +# Alternatively, just use the curl-able install.sh script provided at https://get.docker.com +# \ No newline at end of file