1. Home
  2. Getting Started
  3. Deploying a Docker Application
  1. Home
  2. Categories
  3. Docker Applications
  4. Deploying a Docker Application

Deploying a Docker Application

Initial requirements

To illustrate this process we offer a Demo Docker application so you can follow the whole process with your node. Download the demo application and save it on your computer.

This docker application is compatible with all architectures supported: armv6, armv7, aarch64 and x86_64.

Docker Spaces in edge nodes

Barbara Panel allows you to manage up to 5 docker spaces simultaneously running inside the same device. Every space hosts a docker application with its own configuration, dependencies, persistent folders, etc.

Upload a docker application to Barbara PANEL

In the left menu, select ” Apps ” option to go “Application Registry” view.

We will follow the same process for native applications, but in this case, we will check the option “User Docker” when creating the application registry:

Once you press the “Create” button the new application registry will appear in the registry table.

You can now proceed to upload the ZIP file. To do so,

  • click in the app registry name in the table so you access the “App detail” view.
  • Then click the ADD VERSION button. A new modal will appear
  • Fill in the information and upload the ZIP file from your computer
  • Click the CREATE button

Deploy the docker application to an edge node

Once the application is ready, go back to the “Device Details” view of your edge node, click the ADD CARD button and chose the “User Docker App” one.

A wizard will appear. Then:

  • Choose the application from the list
  • Select “Existing application” and select the appropriate version.
  • We recommend to keep the “Run automatically after install” option selected but this is up to you
  • Select “Configure app” in case you want to add an appConfig before installing.
  • Press the button SEND

After sending the app, you can check in the Application card the status of the process. Finally, it will reach to “Application started successfully” state.

Logs management

The logs section has the same options and possibilities explained in the “Native Application” section.

Persistent folder management

The persistent folder has the same options and functions explained in the Native Application section.

Adjust application configuration

As in the native applications case, all settings specified in the “GLOBAL CONFIG” card are accessible from all Docker spaces, so you can use this card to add your configuration, or you can do it in the CONFIG section of the your Docker App card (in this case, the configuration will be only accesible for that specific app)

In this case, our Demo application just deployed can be adjusted by adding the next values to the card’s JSON editor:

{
  "logText": "Hello from Docker world!!",
  "refresh": 6000
}

So, the final configuration will be as shown in the next figure:

And again, if we check Docker logs for space 1, the new parameters are automatically loaded and used from the Docker application as soon as they are received in the edge node.

Check Docker space information

In this section of every docker card, you can check all information related to the docker application retrieved from the edge node.

Next Steps

This is the final step of the QuickStart guide. You can continue by checking the contents in our documentation here.

Article Attachments

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support