Details
-
Type:
Task
-
Status: Open
-
Priority:
(None)
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: docker-compose support, docker-compose: Update Module
-
Labels:
-
Story Points:8
-
Epic Link:
-
Backlog:yes
-
Days in progress:0
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.
- Locate current docker-compose file. If present, then:
- Submitted to docker-compose-update-module repository on Github.
Attachments
Issue Links
- blocks
-
MEN-3840 Docker environment validation for docker-compose Update Module
-
- Open
-
-
MEN-3842 Yocto recipe in meta-mender to install docker-compose Update Module and inventory script
-
- Open
-
-
MEN-3843 Overlay for mender-convert to install docker-compose Update Module and inventory script
-
- Open
-
- is blocked by
-
MEN-3836 docker-compose Update Module repository
-
- Open
-