Clone a git repo and keep it in sync with the upstream
10K+
ubuntu/git-sync is a rock for git-sync maintained by Canonical.
Git-sync is a go binary that synchronizes a local clone of a git repository.
NOTE: These tags follow a specific naming convention that respects the concept of channels.
| Tags | Supported until | Version | Base | Architectures |
|---|---|---|---|---|
4.7-26.04_edge | 09/2026 | 4.7 | 26.04 | amd64, ppc64le, arm64, s390x |
| Tags | Support ended on | Upgrade Path | |
|---|---|---|---|
4.4-24.04_stable | aliases4.4-24.044.4-24.04_beta4.4-24.04_candidate4.4-24.04_edge | 07/2025 | - |
4.5-24.04_stable | aliases4-24.044-24.04_beta4-24.04_candidate4-24.04_edge4-24.04_stable4.5-24.044.5-24.04_beta4.5-24.04_candidate4.5-24.04_edge | 04/2026 | - |
This rock's entrypoint is Pebble, a container-optimized init process that enables the orchestration of a collection of local service processes as an organized set.
To view the Pebble services and checks defined in this rock:
docker run --rm ubuntu/git-sync:4.4-24.04_stable plan
To run this rock, use any of the usual container runtimes, for example, docker:
docker run --name git-sync-container \
-p 1234:1234 \
ubuntu/git-sync:4.4-24.04_stable
Access the git-sync HTTP API at http://localhost:1234.
To view the logs of the running container, run:
docker exec git-sync-container pebble logs
Or, for a specific service:
docker exec git-sync-container pebble logs <service>
Rocks may have predefined health checks that you can list by running:
docker exec git-sync-container pebble checks
The overall health of your container can be inspected via:
docker exec git-sync-container pebble health
| Option | Description | Default |
|---|---|---|
| TZ | Sets the timezone for the container runtime. | None |
| Option | Description | Default |
|---|---|---|
-p <port>:1234 | Exposes the container's port 1234 on the host's <port>. | None |
Canonical is the provider of this container image. It is the user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within, as well as with Canonical’s IP Policy.
Content type
Image
Digest
sha256:c697bed78…
Size
85.3 MB
Last updated
18 days ago
docker pull ubuntu/git-sync:4.7-26.04_edgePulls:
441
Last week