ubuntu/git-sync

Verified Publisher

By Canonical

Updated 18 days ago

Clone a git repo and keep it in sync with the upstream

Image
Developer tools
3

10K+

ubuntu/git-sync repository overview

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.

[Learn more about git-sync]

Tags and Architectures

NOTE: These tags follow a specific naming convention that respects the concept of channels.

TagsSupported untilVersionBaseArchitectures
4.7-26.04_edge09/20264.726.04amd64, ppc64le, arm64, s390x
View deprecated tags
TagsSupport ended onUpgrade Path
4.4-24.04_stable
aliases4.4-24.04, 4.4-24.04_beta, 4.4-24.04_candidate, 4.4-24.04_edge
07/2025 -
4.5-24.04_stable
aliases4-24.04, 4-24.04_beta, 4-24.04_candidate, 4-24.04_edge, 4-24.04_stable, 4.5-24.04, 4.5-24.04_beta, 4.5-24.04_candidate, 4.5-24.04_edge
04/2026 -

Get started

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.

[Learn more about Pebble]

Inspect

To view the Pebble services and checks defined in this rock:

docker run --rm ubuntu/git-sync:4.4-24.04_stable plan
Run

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.

Get logs

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>
Monitor health checks

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

Configuration

Environment variables
OptionDescriptionDefault
TZSets the timezone for the container runtime.None
Ports
OptionDescriptionDefault
-p <port>:1234Exposes the container's port 1234 on the host's <port>.None

[Report a bug] [Contribute]

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.

Tag summary

Content type

Image

Digest

sha256:c697bed78

Size

85.3 MB

Last updated

18 days ago

docker pull ubuntu/git-sync:4.7-26.04_edge

This week's pulls

Pulls:

441

Last week