Manage Container Images
Learn how to change the image on a container and manage image versions.
It is possible to replace the image of an already existing container.
UI
CLI
API
- 1.
- 2.
- 3.Choose the container in the workload you want to update.
- 4.Click on
Change image
. - 5.On the dialog box, select the Container image you want to use in the Workload. You have the option to:
- Select an image registered with Humanitec.
- Add an image by image name. To do so enter the full image name. A valid name is made up of slash-separated name components and can optionally be prefixed by a registry hostname or followed by a port e.g.
myregistry:5000/postgres/httpd:1.0
.

Steps to update the image on a container steps 1-4

Steps to update the image on a container step 5
Changing the image on a container is the equivalent to changing the
image
property in a Deployment Set in the API. This can be done via a Deployment Delta.The version of a container image that will be used on deployment can be updated within the Workload.
UI
CLI
API
- 1.
- 2.
- 3.Choose the container in the workload you want to update.
- 4.Click on
Change version
. - 5.On the dialog box, select the desired version from the list that appears. To select an archived version, it has to be unarchived first.

Steps to update the version of an Image in a Workload steps 1-4

Steps to update the version of an Image in a Workload step 5
Changing the container image version is the equivalent to changing the
image
property in a Deployment Set in the API. This can be done via a Deployment Delta.As images get added to Humanitec, the list of possible image versions gets longer. In most cases, older image versions are no longer needed. Archiving an image version means that it will no longer appear by default and can be restored any time.
This has the same effect as archiving an image in the Images screen. Images can be archived by Organization Administrators and Managers via the Images screen as well as by App Owners and Developers on the Workload Details Screen as illustrated in the manage container images guide.
UI
CLI
API
- 1.
- 2.
- 3.Choose the container in the workload you want to update.
- 4.Click on
Change version
. - 5.On the dialog box, select the desired version you wish to archive by clicking on it.
- 6.Select
Archive
. The image is now archived and can beUnarchived
any time by following the steps described in this guide.

Steps to archive the version of an Image in a Workload steps 1-4

Steps to archive the version of an Image in a Workload steps 5-6
Last modified 20d ago