AX Semantics Developer Blog
  • Home
  • Categories
  • Tags
  • Archives

Install the recent version of lxc-docker on Ubuntu 14.04

If you install the docker.io package on ubuntu 14.04 you will get a fairly old version (0.9.1 at time of writing) while 1.3 is the current version and has a lot of nice features you don't want to miss. So you can install the recent version manually from the docker repos by running curl -sSL https://get.docker.com/ubuntu/ | sudo sh as described in this tutorial.

Automation with SaltStack

If you want to automate this with SaltStack you can use this small salt state:

lxc-docker:
  pkgrepo.managed:
    - name: deb https://get.docker.com/ubuntu docker main
    - keyserver: keyserver.ubuntu.com
    - keyid: 36A1D7869245C8950F966E92D8576A8BA88D21E9
    - require_in:
      - pkg: lxc-docker
  pkg:
    - installed

Tell us what you think about this. Is something unclear? Do you have questions or ideas? Leave your comments below.

Comments
comments powered by Disqus

  • « Complex pytest-django example
  • How to turn off the alarm LED on Juniper Switches (e.g. EX2200-C) »

Published

Nov 17, 2014

Category

Berichtsheft

Tags

  • automation 3
  • docker 6
  • howto 9
  • saltstack 2
  • AX Semantics Developer Blog - Technical stuff and learnings we had while developing the AX environment
  • Powered by Pelican. Theme: Elegant by Talha Mansoor