Aktualizr
C++ SOTA Client
|
This package manager compliments the OSTreePackageManager by also including optional Docker Apps. More...
Public Member Functions | |
AppBundle (std::string app_name, const DockerAppManagerConfig &config) | |
bool | fetch (const std::string &app_uri) |
bool | start (const std::string &app_uri) |
void | remove () |
Static Public Member Functions | |
static bool | cmd_streaming (const std::string &cmd) |
Public Attributes | |
std::string | name |
boost::filesystem::path | app_root |
boost::filesystem::path | app_params |
std::string | compose_bin |
This package manager compliments the OSTreePackageManager by also including optional Docker Apps.
A full description of the Docker App project can be found here: https://github.com/docker/app/
Docker Apps are very analogous to docker-compose. In fact, this module currently "renders" the docker-app file into a docker-compose file. Each Docker App appears as a custom metadata for a Target in the TUF targets list.
"targets": { "raspberrypi3-64-lmp-144" : { "custom" : { "docker_apps" : { "httpd" : { "uri" : "hub.foundries.io/andy-corp/shellhttpd@sha256:611052af5d819ea979bd555b508808c8a84f9159130d455ed52a084ab5b6b398" } }, "hardwareIds" : ["raspberrypi3-64"], "name" : "raspberrypi3-64-lmp", "targetFormat" : "OSTREE", "version" : "144" }, "hashes" : {"sha256" : "20ac4f7cd50cda6bfed0caa1f8231cc9a7e40bec60026c66df5f7e143af96942"}, "length" : 0 } }
Definition at line 36 of file dockerapp_bundles.cc.