edge / cli

Command line interface for the Edge network

Home Page:https://files.edge.network/cli/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Command: edge device update

adamkdean opened this issue · comments

In the event that something leaves the node image unable to auto-update, we could do with an edge device update command which pulls the latest image, then removes the running/stopped/crashing image if it exists, and runs the newest image.

How the versions are stored and which is the latest is still TBD but for now, we can simply rely on docker's :latest tag.

Bear in mind, there will at a later date (and maybe that's quite soon) an API call required to get a version number for the node type, and use that as the tag, so we need to prepare for that during this task, but for now, default it to latest.

As per the last comment, this will also need to apply to onboarding new devices and also #45