Skip to content
JelinaJelina DocumentationTechnical documentation
Back to website

Example: container application deployment

This example demonstrates the full release-based workflow for deploying a containerized application on a JelinaOS device and can serve as a project delivery template.

Deploy a web service on an edge device with release management, startup at boot, automatic fault recovery, and persistent data.

  1. Complete JelinaOS installation.
  2. Complete basic setup under first boot and configuration.
  3. Connect to JelinaCloud and complete device registration.
  4. Verify that the container runtime is available: docker version.

Build the application image in your development environment and push it to a registry:

Terminal window
docker build -t registry.example.com/webapp:1.0.0 .
docker push registry.example.com/webapp:1.0.0

Create a release in JelinaCloud and add the container application, including image, restart policy, environment variables, ports, and volumes. For detailed instructions, including application package uploads, see create a Release in JelinaCloud.

Deploy the release to the target fleet; the device agent applies it automatically. Verify on the device:

Terminal window
docker ps # Container is running
curl http://localhost:8080 # Service is accessible
docker logs webapp # Logs are normal
  • Automatic fault recovery: After a simulated fault, the device agent restarts the application automatically.
  • Startup at boot: After a device restart, the application resumes automatically.
  • Data persistence: Data in the data partition remains intact after container upgrades and recreation.
  1. Build and push a new image version.
  2. Create a new cloud release using the updated image version.
  3. Deploy it to devices for automatic upgrades.
  4. If problems arise, select the original version again to roll back.
Requirement Implementation
Release management Define applications in releases for centralized agent deployment
Startup at boot Configure restart policies in the release for automatic recovery with the system
Automatic fault recovery The device agent restarts failed applications
Data persistence Mount data on the data partition
Version updates Deploy new releases, with rollback support