Enabling Specific Applications¶
As you implement more apps in containers.git
, you may not want all of them running on every device.
Fioctl® can specify what apps a device should run.
Instead of enabling shellhttpd
as done before, we will use fioctl
to first disable and then enable shellhttpd
.
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:
You should shortly see aktualizr-lite
remove the app.
Once aktualizr-lite
finishes, use docker ps
to see if there are any containers running on the device:
On the device, open the log again and watch as you re-enable shellhttpd
:
Enable the shellhttpd
application on your device:
You should soon see aktualizr-lite
add the app.
On your device, test the container again by running the following command:
Check the running containers: