Docker image for Gogs with predefined configuration
155
Custom Docker image for Gogs (self-hosted Git service) with optimized Dockerfile, reduced layers, and improved security.
docker pull devangjani/gogs:v0.1
Note: Please use --platform linux/amd64 if you get an error below for the pull command
no matching manifest for linux/arm64/v8 in the manifest list entries
docker run -d \
--name gogs \
-p 3100:3000 \
-p 10022:22 \
devangjani/gogs:v0.1
Open your browser and navigate to: http://localhost:3100
| Port | Protocol | Purpose |
|---|---|---|
3100 | TCP | HTTP web interface (mapped from container port 3000) |
10022 | TCP | SSH for Git operations (mapped from container port 22) |
✅ Optimized Dockerfile — Reduced layers, faster builds
✅ Security — Runs as non-root git user
✅ Lightweight — Minimal image footprint
See Gogs License
Maintained by: devangjani
Content type
Image
Digest
sha256:e3d91d834…
Size
52.9 MB
Last updated
10 months ago
docker pull devangjani/gogs:v0.1