23 lines
348 B

#!/bin/bash
set -eux # -x for verbose logging to juju debug-log
##
## Install lxc, because docker can only work with lxc
## see: https://github.com/docker/docker/issues/6783
apt-get -y install lxc
##
## Install docker
##
curl https://get.docker.io | sh
##
## Init.d and defaults running options
##
cp src/etc/default/docker /etc/default/