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

docker-compose Update Module

    XMLWordPrintable

    Details

      Description

      Acceptance criteria:

      • docker-compose Update Module created.
      • How it should work:
        • Locate current docker-compose file. If present, then:
          • Stop current containers with docker-compose stop.
          • Take a backup of the current file.
        • Install new docker-compose file in place of the old.
        • Run docker-compose up with new file.
        • If unsuccessful and backup exists:
          • Restore backup.
        • If successful and backup exists:
          • Remove docker tags mentioned in the backup (to save space on the device). Note: docker-compose rm is not enough here, you also need to remove the tags, so that they no longer show up in docker images.
      • Submitted to docker-compose-update-module repository on Github.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                a10040 Kristian Amlie
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel