Docker image
Deploy an application from a container image on Docker Hub, GHCR or any registry, public or private.
Deploy a prebuilt image instead of building from Git. This works for single applications, with public and private registries.
Before you start
- The image is already published, and you know its full name and tag.
- For a private image: a username and a password or access token with read access.
Connect
Open the application's Settings › Source and build and select Docker as the source.
Fill in the fields.
| Setting | What it does |
|---|---|
| Docker Image | Full image name, for example nginx:latest or myorg/myapp:v1.0 |
| Docker Registry URL | Registry host. Defaults to Docker Hub when empty |
| Docker Registry Username | Username for private images |
| Docker Registry Password | Password or access token for private images |
Click Save, then Deploy.
Use it
| Registry | Image | Registry URL | Username | Password |
|---|---|---|---|---|
| Docker Hub | myorg/myapp:v1.0 | empty | Docker Hub username | Personal access token (Read-only is enough) |
| GHCR | ghcr.io/username/repository:tag | ghcr.io | GitHub username | Classic personal access token |
| Public, any registry | quay.io/prometheus/prometheus:latest | Registry domain, if not Docker Hub | empty | empty |
Create a Docker Hub token under Personal Access Tokens in Docker Hub security settings. For GHCR, create a classic token at GitHub tokens with the scopes repo, workflow, write:packages and delete:packages.
To save credentials once and reuse them across applications, add a registry instead.
Limits
- Prefer access tokens over passwords, grant the minimum permissions, and rotate them regularly.
- Docker Hub rate-limits anonymous pulls. Authenticate, or use a private registry.
Troubleshooting
| Symptom | Fix |
|---|---|
| Authentication failed | Check the credentials and the token's permissions |
| Image not found | Check the spelling of the name and tag |
| Registry timeout | Make sure the registry URL is reachable from your wtree Cloud server |
