Sign inSign up
git-identity logo

sbx/git-identity

Verified Publisher

By Docker, Inc

•Updated 1 day ago

Requests runtime-provided Git attribution without importing unrelated configuration

Sandbox Kit
0

882

sbx/git-identity repository overview

Digest

sha256:3f8eff6e6c91…

Size

1 kB

Schema

v3

Pushed

1 day ago

Specificationspec.yaml

MIXIN

Requests runtime-provided Git attribution without importing unrelated configuration


Arguments
NameRequiredDefaultDescription
versionRequired—

Revision of the identity declaration


CapabilitiesExpand a row to see its full configuration. See the full spec for the complete descriptor.
TypeRequiredDescription
com.docker.sandbox/git-identity@1Required—

Apply this mixin to a sandbox

sbx run <agent> --kit sbx/git-identity:latest

Make sure you have docker sbx installed

Run the following command to install sbx on your machine.

macOS
brew install docker/tap/sbx
Windows
winget install Docker.sbx
Learn more about docker sbx⁠

⁠Git identity for Docker Sandboxes

This v3 mixin Kit gives a workload the Git author name and email selected by the runtime. Repository-local Git configuration keeps its normal precedence.

This Kit is built on Docker Hardened Images.

⁠Run

sbx run sbx/claude:latest --kit sbx/git-identity:latest /path/to/workspace

⁠Kit arguments

This Kit has no create-time kit arguments.

⁠Identity and permissions

The runtime requests permission to provide a complete name and email pair. The pair becomes the workload user's global Git defaults before lifecycle hooks and sessions run. The runtime preserves unrelated guest settings.

Creation fails if permission is withheld or either value is unavailable. The Kit has a required identity request. A composition that omits the request receives no identity through this feature. Optional requests in other Kits may be skipped and recorded when identity is unavailable.

The runtime retains the selected pair across restart and recreate. Local repository overrides still apply. No host Git configuration is mounted, and identity values are never baked into this image.

Identity is attribution. SSH authentication, commit signing, and user review require separate authority.

⁠Source and security

See the Git identity capability⁠ and the Sandbox Kit v3 specification⁠.

For runtime setup, see the Docker Sandboxes documentation⁠. For provenance, SBOMs, and image verification, see the Docker Hardened Images documentation⁠.

Docker is a registered trademark of Docker, Inc.