summaryrefslogtreecommitdiffstats
path: root/juju
diff options
context:
space:
mode:
authorAakashKT <aakash.kt@research.iiit.ac.in>2017-08-10 23:41:35 +0530
committerAakashKT <aakash.kt@research.iiit.ac.in>2017-08-10 23:43:45 +0530
commit19c03fed983fbb7dcb4fbed3ddfbf055a487990b (patch)
tree0aa857eb903c8b3c59f30194fb40343754e64d12 /juju
parent59cbeb8c0fbf4f8825cf741ed1863b1a4a3bdf00 (diff)
Switched to correct installation method for docker in clearwater deployment scripts
Change-Id: Id6551c43488d5fbdef169285c5741e22bd00bea8 Signed-off-by: Aakash KT <aakash.kt@research.iiit.ac.in>
Diffstat (limited to 'juju')
-rwxr-xr-xjuju/k8s/clearwater/deploy_clearwater_k8s.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/juju/k8s/clearwater/deploy_clearwater_k8s.sh b/juju/k8s/clearwater/deploy_clearwater_k8s.sh
index 695f5083..8a4160a4 100755
--- a/juju/k8s/clearwater/deploy_clearwater_k8s.sh
+++ b/juju/k8s/clearwater/deploy_clearwater_k8s.sh
@@ -18,7 +18,13 @@
function setup_docker() {
echo "Installing docker..."
- sudo apt-get install -y docker.io
+ sudo apt-get update
+ sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
+ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
+ sudo add-apt-repository \
+ "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
+ sudo apt-get update
+ sudo apt-get install docker-ce
sudo docker login --username="aakashkt" --password="joid123"
}