On this page

Deploy via Docker Image

In addition to connecting a GitHub repository, you can deploy directly from a pre-built Docker image. This is useful when you already have an external CI/CD pipeline or want to deploy third-party images.

How it works

When you choose the Docker Image option during service creation, you provide the image reference (name and tag). Guara Cloud pulls the image from the registry and starts the service directly, skipping the build step entirely.

Specifying the image

Provide the full image reference, including the tag:

my-user/my-app:latest
my-user/my-app:v1.2.3
ghcr.io/my-org/my-service:main

Supported registries

Guara Cloud supports images from any public registry:

  • Docker Hubuser/image:tag
  • GitHub Container Registryghcr.io/org/image:tag
  • Any public registry — just use the full image URL

Configuration

When deploying a Docker image, you need to configure:

  • Port — the port your application exposes inside the container
  • Environment variables — configurations needed for the application to work

These settings can be changed at any time in the service configuration.

When to use Docker image vs GitHub

ScenarioRecommendation
Source code in a GitHub repositoryDeploy via GitHub
External CI/CD pipeline that produces imagesDocker image
Third-party image (e.g., database, proxy)Docker image
Quick prototyping from source codeDeploy via GitHub
Pre-optimized and tested imageDocker image

Updating the image

To deploy a new version of your image, go to the service settings, update the image reference (for example, from v1.2.3 to v1.3.0) and start a new deployment. Guara Cloud will pull the new version and replace the current container.