A rock with the standard git command-line tool used for version control systems
704
ubuntu/git is a rock for git maintained by Canonical.
Git is a distributed version control system for tracking changes in source code. It allows multiple developers to collaborate on a project efficiently. It also supports features like branching, merging, and history tracking.
Git is widely used for source code management, collaboration, and version tracking.
This is a minimal rock containing only the Git command-line tool.
NOTE: These tags follow a specific naming convention that respects the concept of channels.
| Tags | Supported until | Version | Base | Architectures |
|---|---|---|---|---|
2.55-26.10_edge | 07/2027 | 2.55 | 26.10 | ppc64le, s390x, arm64, amd64 |
2.53-26.04_edge | 05/2031 | 2.53 | 26.04 | arm64, s390x, ppc64le, amd64 |
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:2.55-26.10_edge plan
To run this rock, use any of the usual container runtimes, for example, docker:
docker run --name git-container \
ubuntu/git:2.55-26.10_edge \
exec git --version
The container outputs the installed Git version.
To view the logs of the running container, run:
docker exec git-container pebble logs
Or, for a specific service:
docker exec git-container pebble logs <service>
Rocks may have predefined health checks that you can list by running:
docker exec git-container pebble checks
The overall health of your container can be inspected via:
docker exec git-container pebble health
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:bb637f3b2…
Size
22.7 MB
Last updated
3 days ago
docker pull ubuntu/git:2.55-26.10_edge