fork 0k-charms
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
348 B

  1. #!/bin/bash
  2. set -eux # -x for verbose logging to juju debug-log
  3. ##
  4. ## Install lxc, because docker can only work with lxc
  5. ## see: https://github.com/docker/docker/issues/6783
  6. apt-get -y install lxc
  7. ##
  8. ## Install docker
  9. ##
  10. curl https://get.docker.io | sh
  11. ##
  12. ## Init.d and defaults running options
  13. ##
  14. cp src/etc/default/docker /etc/default/