docker.io-installed:
  pkg.installed:
    - name: docker.io

docker-io-running:
  service.running:
    - name: docker.io
    - require:
        - pkg: docker.io

docker-py:
  pip.installed:
    - name: docker-py == 0.5.0
    - reload_modules: True

docker-python-apt:
  pkg.installed:
    - name: python-apt

docker-dependencies:
  pkg.installed:
    - pkgs:
      - apt-transport-https
      - iptables
      - ca-certificates
      - lxc

docker-repo:
  pkgrepo.managed:
    - humanname: Docker repo
    - name: deb https://get.docker.com/ubuntu docker main
    - file: /etc/apt/sources.list.d/docker.list
    - keyid: d8576a8ba88d21e9
    - keyserver: keyserver.ubuntu.com
    - refresh_db: True
    - require_in:
        - pkg: lxc-docker
    - require:
      - pkg: docker-python-apt

lxc-docker:
  pkg.installed:
    - name: lxc-docker

docker-service:
  service.running:
    - name: docker
    - enable: True

docker-py package dependency:
  pkg.installed:
    - name: python-pip

docker-py:
  pip.installed:
    - require:
      - pkg: lxc-docker
      - pkg: python-pip
    - reload_modules: True

Update to latest version of Docker in Salt
Update to latest version of Docker in Salt

kod3r/memex-explorer,memex-explorer/memex-explorer,memex-explorer/memex-explorer,YongchaoShang/memex-explorer,kod3r/memex-explorer,kod3r/memex-explorer,firebitsbr/memex-explorer,firebitsbr/memex-explorer,firebitsbr/memex-explorer,memex-explorer/memex-explorer,firebitsbr/memex-explorer,YongchaoShang/memex-explorer,YongchaoShang/memex-explorer,kod3r/memex-explorer,memex-explorer/memex-explorer,YongchaoShang/memex-explorer