Enabling Specific Applications¶
As you implement more applications in containers.git
, you may not
want to run all of them on all of your devices. You can use fioctl
to
specify what applications the device should run.
Instead of enabling the shellhttpd
, which is already done as mentioned before.
Let’s use fioctl
to first disable and then enable the shellhttpd
application.
Make sure to follow the aktualizr-lite
logs on your device with the following command:
On your host machine, disable shellhttpd
by replacing the list of apps with a simple comma:
Example Output:
In a maximum of 2 minutes, you should see aktualizr-lite
remove the application.
Once aktualizr-lite
finishes its changes, use docker ps
to see if there
are any containers running on the device:
Example Output:
On the device, open the aktualizr-lite
log again and watch as you re-enable shellhttpd
:
Enable the shellhttpd
application on your device:
Example Output:
Again in a maximum of 2 minutes, you should see aktualizr-lite
add the application.
On your device, test the container again by running the following command:
Example Output:
Check the running containers:
Example Output: