core-container-manager
10K+
Databox container manager and dashboard are the part of the databox platform. see the main repository for more information.
For developing Databox core components - Container Manager (CM) exposes following functions:
setHttpsHelper(helper): this function provides a https-agent with Databox root certificate, so that arbitor accepts requests by the https-agent.install(sla): start a app/driver service as a docker container.uninstall(service): remove the running service docker container.restart(container): restart the container.connect(): this function checks if CM can connect to docker.listContainers(): this list all Databox componentn containers.generateArbiterToken(name): this function generates token to be passed to arbitor for the service.updateArbiter(data): this function updates arbitor endpoint:/cm/: upsert-container-info using post 'data'restoreContainers(slas): this function restores containers by relaunching them by their sla's.getActiveSLAs(): this function gives all SLA's registered in the SLA - database.getSLA(name): find sla with name in ./slaStore/sladatastore.dbgetAllSLAs: list all slas in ./slaStore/sladatastore.dbputSLA(name, sla): put sla with name in ./slaStore/sladatastore.dbdeleteSLA(name): delete sla with name from ./slaStore/sladatastore.dbcreateNetwork(networkName, external): this function creates a docker network with name networkName and boolean type external variable. If external is true, it means external excess to the network is allowed.connectToNetwork(container, networkName): this function connects a container to the docker network -networkNamedisconnectFromNetwork(container, networkName): this function disconnects a container from the docker network - networkNameEP/N028260/1, Databox: Privacy-Aware Infrastructure for Managing Personal Data
EP/N028260/2, Databox: Privacy-Aware Infrastructure for Managing Personal Data
EP/N014243/1, Future Everyday Interaction with the Autonomous Internet of Things
EP/M001636/1, Privacy-by-Design: Building Accountability into the Internet of Things (IoTDatabox)
EP/M02315X/1, From Human Data to Personal Experience
Content type
Image
Digest
Size
33.6 MB
Last updated
over 8 years ago
docker pull databoxsystems/container-manager