You can use public images from our Docker Hub account to build your custom images locally when using a SiteHost image as your base image.
When you fork an existing image, you'll start off with a Dockerfile that has a single FROM directive. It will look similar to this:
FROM registry.sitehost.co.nz/sitehost-php84-apache:1.0.2-noble
The SiteHost registry is an internal service that is only accessible from your Cloud Container server, and this image will only build in the SiteHost build pipeline. You may find that your image has a corresponding public version on our DockerHub account, this can be used to build your image locally.
Simply replace registry.sitehost.co.nz with docker.io/sitehost in the FROM directive as shown below.
FROM docker.io/sitehost/sitehost-php84-apache:1.0.2-noble
The DockerHub images are intended for local use only, before you push your changes to the custom image repository remember to use the
registry.sitehost.co.nzregistry.