Swapping the Image

Swapping the image on a container provides you with an easy way to change the software that a container is running without having to recreate and reconfigure the container. This gives you the option to easily change between versions of web servers, languages, databases, etc. It's even possible to completely switch to an alternative piece of software altogether — e.g. Apache to Nginx.

Please note that although your original configuration will be migrated across to the new image, there may be differences in versions of software that will still require you to update your configuration files.

To begin swapping the image for a container, follow the simple steps below:

  1. When logged in to the SiteHost Control Panel, click the Containers module from the menu on the left.
  2. Click the Container Label from the list to open the Container management page.
  3. Click the Container Image drop down menu and select an image to swap to.
  4. Hit the Change Image button to confirm the action.

You will not be able to swap images for Integrated Containers.

Updating an Image Version

Updating an image version follows similar steps to swapping an image as mentioned above. The only difference being, instead of changing the image (say from Apache + PHP 7.3 to Apache + PHP 7.4), you will be updating the image version to the latest release available.

To explain, we rollout updates to our existing images to make sure they're running on the latest version of their respective release. Any Cloud Containers with a newer image version available will have an "NV" icon highlighted next to them.

To update to the latest release, as advised above, click the Container Image drop down menu where you should see a new version of the Image available similar to the format below:

Apache + PHP 7.1

  • 3.0.0-focal (New version)
  • 1.0.5 (Current version)

You can then select the new version from the drop down menu and then select the Change Version option to apply the changes.