Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-3984

docker-compose: Update Module



    • Type: Epic
    • Status: Requirements ready
    • Priority: (None)
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None


      Containers are continuing to gain more traction in IoT, for the same reasons as they became popular in cloud (decoupling). Deploying containers is now an expected use case for an OTA update manager like Mender too. We already have a docker Update Module, which is also part of Get started however few are working directly with docker when deploying applications (e.g. due to complex net configs, etc.). It also does not (re)start the container being deployed (while we do restart the system when doing a system update).

      There are many technologies to run containers however docker-compose still seems to be the most popular even in IoT, likely because it is being used so much on development workstations and thus is familiar.

      This first iteration is making the Update Module available. The second is to integrate it with the backend to make it easier to generate update Artifacts (MEN-3772).

      User value (why)

      • Use the same solution (Mender) for system and application updates
      • Easy way to use containers with Mender

      Acceptance criteria

      • There is a new docker-compose based Update Module
      • The Artifact Payload is just the container meta-data (docker-compose file), and it relies on preconfigured docker registries to download the container images
      • The containers get (re)started once a new docker-compose deployment is made
      • This Update Module is installed with the client by default, just like the File Update Module
      • Get started section on containers is updated to use this update module rather than the container one

      Feature branch: feature-docker-compose-um


          Release management

            Issue Links



                a10040 Kristian Amlie
                a10003 Eystein Maloy Stenberg
                0 Vote for this issue
                2 Start watching this issue