What Is The Easiest Way To Download Files From an IOx Container?

IOx containers are secure, so adding or changing files to them is difficult to do. However, it is relatively easy to get files from the containers.

IOx provides a lot of capabilities via the "ioxclient" command, however this is rather cumbersome for development. During development its common to make some changes and need to save the files, something like a Node-RED flow. Here's an example of how to access the container filesystem from the GOS to get the default Node-RED flow:

scp -P 2222 root@ .

In this case, the application is "nr" (i.e. Node-RED). You can see it using ioxclient app li:

$ ioxclient app li
Currently active profile :  NA-X01N  
Command Name: application-list  
Saving current configuration  
List of installed App :  
 1. nr         --->    RUNNING
 2. dm900s     --->    RUNNING

Or, if you've shared SSH Keys, ssh with virsh:

$ ssh -p 2222 root@ virsh list
 Id    Name                           State
 8298  nr                             running
 10078 dm900s                         running