Create and delete Containers
Learn how to add and remove Containers to and from a Workload in Humanitec.

Introduction

After adding a new Workload to your App, you can add one or more Containers from the Workload Details Screen. If your App requires multiple Containers in a Workload (e.g., a sidecar for logging or monitoring), you can add additional Container images to your Workload. This section explains how.

Create new Container

You can add a Container to your Workload from the Workload Details Screen.
  1. 1.
    Click on the create new container button in the workload configuration view.
  2. 2.
    Select the Container image you want to use in the Workload (You can add add additional sidecar containers later). If the list is long, you can search for Container images in the search bar.
  3. 3.
    Chose a name for the Container. This name can not be changed later.
  4. 4.
    Hit Create.
How to add a Container to your Workload

Add Sidecar Containers

You can add Sidecar Containers to your Workload from the Workload Details Screen.
  • Click on a plus icon next to your container in the workload configuration view.
  • Select the container image, give it a name, and click Create.
  • You will see a new container appear next to your current container. You can configure your containers separately by clicking on their names.
You can configure each Container in a Workload separately.

Delete Containers

You can delete Sidecar Container from the Workload Details Screen.
  • Click on the 3 dots next to the Container you want to delete.
  • Select Remove from the dropdown menu.
Example to remove a Sidecar Container from a Workload
Last modified 1mo ago