Code Monkey home page Code Monkey logo

Pantavisor

What is Pantavisor?

Pantavisor is the easiest way to build and manage embedded Linux projects with lightweight containers. Put your Linux distribution or custom-made firmware and userland into containers and get all of the benefits of portable containerized lifecycle management without needing to replace your distribution.

Pantavisor is the Linux device init system that turns the runtime into a set of containerized microservices. It is not a container engine but rather a framework for assembling and managing containerized building blocks for firmware and applications. Pantavisor provides a simple way to deploy and atomically manage your containerized embedded firmware and apps across millions of devices in a reproducible manner.

Meets the requirements of low-spec devices

To ensure it can cover the low-spec end of the market, Pantavisor brings full container functionality into a single binary to keeps its size as small as possible. Depending on the software functions that are built into the container, the size can vary, but the average for a fully functional system puts the Pantavisor binary at around 1mg (as a compressed initial ramdisk).

Pantavisor takes advantage of pure Linux container technology. It implements parts of the LXC suite as a library that wraps around the basic building blocks of containers. Because LXC is a pure C project, the overall footprint of Pantavisor is very small.

Build your embedded system with containerized building blocks

With a containerized system, you can mix and match components from different distros to build your system and update and maintain customizations without replacing your distro or the entire board.

In a Pantavisor-enabled device, each application or service is defined as a container, including all of the associated objects that are needed to start them. In Pantavisor this includes:

  • Board Support Packages (BSPs): kernel, modules, and firmware. 
  • System Middleware Containers: you can choose to package your monolithic distro middleware in one or build your middleware in more fine-grained units. 
  • Apps: Linux or Docker containers.
  • Configuration: system level configurations

In the case of a multi-service system, there can be definitions of these that make up the full running system. This is what we refer to as the Pantavisor State Format. This state is declarative and is in JSON format. It is managed via the Pantavisor CLI and kept in our SaaS Pantacor Hub or managed locally on your device with the system utilities Pantabox.

Pantacor Hub and Pantavisor

Pantacor Hub is the open source SaaS that manages app and device state in the cloud. You can think of it as a cross between an image sharing repository, a device system revision repository and a deployment platform. The hub allows you to share images and device data between team members or other users. It also manages the atomic revisions of the device state and also deploys them over the air across device fleets. In addition, you can use it to view logs, troubleshoot and configure devices as well as edit application, and user meta-data.

How to Get Started

This is the quickest way to get to know Pantavisor:

If you have a device like a Raspberry Pi, you can download a pre-built image for Raspberry Pi and several other device types that come with Pantavisor installed:

After you've downloaded and flashed your device with Pantavisor, try out a tutorial:

Getting help and support

We're a friendly and helpful community and welcome questions, and any feedback you may have.

License

Pantavisor applies the MIT license with copyright.

Pantavisor's Projects

pantavisor icon pantavisor

The near bare metal multi-container supervisor and OS management system.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.