# Containers View

Containers allow you to extend the basic functionality of Connectware.

A container represents any (third-party) application made available using the docker ([https://www.docker.com](https://www.docker.com/)) technology. There are no limits on the range of possible applications in Docker containers.

Connectware imposes no constraints on the actual containers, but will ensure security by running the containers in encapsulated networks. This way the containerized applications can neither compromise the host system nor access any other data except those explicitly granted access to within the service commissioning file (see [Services](https://docs.cybus.io/2-0-6/documentation/services)).

{% hint style="info" %}
This feature is available only in Docker Compose deployments, but not in Kubernetes deployments of Connectware. Using this in a Kubernetes deployment will be refused with a suitable error message.
{% endhint %}

See also: [Cybus::Container resource](https://docs.cybus.io/2-0-6/documentation/services/service-commissioning-files/resources/cybus-container)

Containers can be added by [installing a Service](https://docs.cybus.io/2-0-6/documentation/services/setting-up-and-configuring-services/installing-services).

## Overview

Once a service using one or more containers is enabled, respective rows representing each container will be visible in the overview table.

<figure><img src="https://639096190-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfDpOJO2upcq5EpoSahvK%2Fuploads%2Fgit-blob-6e4c55c56e04cfacf71d13f5b7fdae1ade0f7ea0%2Fcontainer_overview.png?alt=media" alt=""><figcaption></figcaption></figure>

Once the service is in the *enabled* state, basic manual interaction with the container is possible by selecting the checkbox on the left side of the row in the overview table. Activating this checkbox will show the toolbar, where buttons for manually stopping and starting the container are available.

<figure><img src="https://639096190-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfDpOJO2upcq5EpoSahvK%2Fuploads%2Fgit-blob-a423c8743d54623dc6f097cb4897db49264578ab%2Fcontainer_overview_toolbar.png?alt=media" alt=""><figcaption></figcaption></figure>

Once stopped, containers can also be removed by clicking the delete icon in the toolbar.

{% hint style="warning" %}
Manual stopping or deletion of containers will render the corresponding service to be [deviated](https://docs.cybus.io/2-0-6/documentation/services/deviations) (i.e. only partially functional). This is indicated by a yellow warning popup window at the bottom left of the screen. To restore the initial settings it is always possible to [disable](https://docs.cybus.io/2-0-6/documentation/services/setting-up-and-configuring-services/disabling-services) and then again [enable the service](https://docs.cybus.io/2-0-6/documentation/services/setting-up-and-configuring-services/enabling-services).
{% endhint %}

Like every other resource, containers have a detail view. By clicking on one of the listed containers you get redirected to the [Details View](#details-view) of the selected container.

## Containers Details View

Containers have multiple resources itself. These are grouped in [Configuration Tab](#configuration-tab) and [Environment Variables Tab](#environment-variables-tab). Additionally, you can see the container logs in the **Container Logs** tab.

<figure><img src="https://639096190-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfDpOJO2upcq5EpoSahvK%2Fuploads%2Fgit-blob-60d5e87b3997569e13935b36fd9aa16832fb275c%2Fcontainer_details_view.png?alt=media" alt=""><figcaption></figcaption></figure>

### Configuration Tab

This tab shows the configuration properties of the selected container.

<figure><img src="https://639096190-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfDpOJO2upcq5EpoSahvK%2Fuploads%2Fgit-blob-d9157c5f1bfaa7b81eb2bbab260a83891a274a56%2Fcontainer_details_configuration_tab.png?alt=media" alt=""><figcaption></figcaption></figure>

### Environment Variables Tab

This tab shows the specified environment variables that are specified for the selected container.

<figure><img src="https://639096190-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfDpOJO2upcq5EpoSahvK%2Fuploads%2Fgit-blob-9cc199d57039e5a15afa82bf42d9731a334faa9e%2Fcontainer_details_environment_variables_tab.png?alt=media" alt=""><figcaption></figcaption></figure>
