HUB
Sign inSign up

cyrius44/portalcrane

By cyrius44

β€’Updated 2 days ago

Docker Registry Manager

Image
Integration & delivery
0

10K+

cyrius44/portalcrane repository overview

⁠🐳 Portalcrane

licence Python Angular ci::status docker::pulls documentation::badge

English · Français⁠ · Español⁠

Portalcrane is a self-hosted Docker registry manager. It offers a modern and intuitive interface for browsing, searching, and managing images and tags, with a preparation process that includes vulnerability scanning. It also allows you to declare external registries and perform transfers between them. Portalcrane's internal registry allows you to organize images into directories. An RBAC model allows you to control image usage.

image

⁠Features

  • 🎨 Modern UI with light / dark / auto themes
  • πŸ” Local authentication (admin + per-user accounts) with optional OIDC support
  • πŸ‘₯ Multi-user management with granular pull / push permissions
  • πŸ“ Folder-based access control (per-folder local and external pull/push permissions on image namespaces)
  • πŸ“¦ Browse, search, and paginate images and tags
  • πŸ—‘οΈ Delete images or individual tags
  • 🏷️ Retag: add new tags to existing images
  • πŸš€ Staging pipeline: Search Docker Hub β†’ Pull β†’ Trivy CVE scan (optional) β†’ Push to registry
  • πŸ“Š Dashboard with live stats (image count, disk usage, largest image, user & admin counts)
  • πŸ” Advanced mode: detailed image metadata (layers, labels, env vars, architecture…)
  • 🌐 External registries: CRUD management + connectivity test
  • πŸ”„ Sync: push local images to external registries (full or per-image)
  • πŸ“‘ Syslog support in the Network tab
  • πŸ“‹ Audit logs: full history of API operations
  • πŸ”’ Registry proxy with authentication enforcement
  • ℹ️ About panel with version check against the latest GitHub release
  • 🐳 Single-container deployment (frontend + backend + registry in one image)

Single image, no external database, linux/amd64/linux/arm64 β€” see the Architecture⁠ page for the full technology stack and how the pieces fit together.


⁠Quick Start

docker run -d \
  --name portalcrane \
  -p 8000:8000 \
  -v /portalcrane_data:/var/lib/portalcrane \
  cyrius44/portalcrane:latest

No credentials need to be provided, and no password is ever written to the logs. Once the container is started, generate the password of the built-in admin account with the CLI β€” it is printed once on the command's output:

docker exec -u portalcrane portalcrane portalcrane-admin reset-password

Open http://localhost:8000⁠ and log in with admin and that password.

Note: mounting a persistent volume on /var/lib/portalcrane is required β€” the admin password hash and JWT secret key are stored there. Without it, both are lost on every restart.

Or with Docker Compose:

services:
  portalcrane:
    image: cyrius44/portalcrane:latest
    container_name: portalcrane
    ports:
      - "8000:8000"
    volumes:
      - portalcrane_data:/var/lib/portalcrane
    restart: unless-stopped

volumes:
  portalcrane_data:

Once running, use the web UI or the Docker CLI directly through the registry proxy:

docker login <host>:8000
docker pull <image>:<tag>
docker push <image>:<tag>
docker logout

Note: docker login requires a Docker-scoped Personal Access Token as the password β€” a real account password is rejected. Generate one from the account menu β†’ Personal Access Tokens.

For the full installation guide (TLS, reverse proxies, the dev stack, security notes) see Getting Started⁠.


⁠Documentation

Full documentation β€” configuration reference, every feature explained with examples, the REST API, and how to contribute β€” is published at cyr-ius.github.io/portalcrane⁠.

Looking for...Go to
Every environment variableEnvironment Variables⁠
OIDC / SSO setupAuthentication & OIDC⁠
Users, groups, folder permissionsUsers, Groups & Permissions⁠
The staging pipeline & vulnerability scanningStaging Pipeline⁠
External registries & cross-registry transfersExternal Registries & Transfers⁠
REST API endpointsAPI Reference⁠
Running the frontend/backend locally, cutting a releaseDevelopment⁠

⁠License

MIT β€” see LICENSE⁠ for details.

⁠About

Author: @cyr-ius⁠ β€” Sponsor: GitHub Sponsors⁠

Tag summary

Content type

Image

Digest

sha256:52f98b3a7…

Size

163.9 MB

Last updated

2 days ago

docker pull cyrius44/portalcrane