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

docker-compose: Server generation support

    XMLWordPrintable

    Details

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

      Description

      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 is the second iteration, after the docker-compose Update Module (MEN-3984).

      User value (why)

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

      Acceptance criteria

      • The containers are stored on persistent storage in the RPi onboarding environment, so that system updates can be made independently of container application updates (e.g add support to mender-convert and build new image)
      • A docker-compose file can be uploaded to Mender server directly (server side Artifact generation), in which case this Update Module is used
      • Get started section on containers is updated to use this new way to work with containers
      • mender-cli supports uploading docker-compose files directly to the Mender server (for server-side Artifact generation), so it can easily be integrated into CI systems

      Feature branch: feature-docker-compose-um

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                a10040 Kristian Amlie
                Reporter:
                a10053 Marcin Pasinski
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel