Kubit Registry Mirrors
Centralized mirrors for faster, more reliable dependency and image pulls.
Endpoints
- PyPI (pip/uv):
https://pypi.kubit.dev - npm (npm/Corepack):
https://npm.kubit.dev - Docker Hub mirror:
docker.kubit.dev
Note These mirrors are intended for read-only proxying of public artifacts. If authentication or write access is required for private packages/images, use the upstream service directly or contact the platform team.
npm (npm.kubit.dev)
Quick use (per shell)
# Set registry for current shell
npm config set registry https://npm.kubit.dev/
# install
npm i <package>
Project-local config (.npmrc)
Create a .npmrc in your project root:
registry=https://npm.kubit.dev/
Global config
npm config set registry https://npm.kubit.dev/
Using Corepack (Yarn / pnpm)
Enable Corepack, then configure each manager to use the mirror.
Yarn (Berry / v3+)
corepack enable
# per-project (recommended)
yarn config set npmRegistryServer "https://npm.kubit.dev/"
# then
yarn add <package>
pnpm
corepack enable
pnpm config set registry https://npm.kubit.dev/
# then
pnpm add <package>
PyPI (pypi.kubit.dev)
Pip/uv expect the Python Simple API endpoint; use
/simplein the index URL.
Quick use (per shell)
# pip
env PIP_INDEX_URL="https://pypi.kubit.dev/simple" pip install <package>
# uv (Python project manager)
uv pip install --index-url https://pypi.kubit.dev/simple <package>
User-level config (pip.conf)
Create (or edit) ~/.pip/pip.conf (Linux/macOS) or %APPDATA%/pip/pip.ini (Windows):
[global]
index-url = https://pypi.kubit.dev/simple
Project-level config (uv)
In pyproject-managed projects you can pin the index at command time:
uv add --index-url https://pypi.kubit.dev/simple <package>
Docker images (docker.kubit.dev)
Pull Docker Hub images through the mirror by prefixing with the mirror host.
Examples
# Official images ("library" namespace)
docker pull docker.kubit.dev/library/nginx:latest
# Another official image
docker pull docker.kubit.dev/library/ubuntu:22.04
# A user/org image on Docker Hub
docker pull docker.kubit.dev/hashicorp/consul:1.20
Tip: You can also set this mirror in CI or scripts by rewriting image references to the
docker.kubit.dev/...form.
Extra Docker registry mirrors (host → mirror)
These registries are mirrored under dedicated hostnames. Use them by replacing the upstream host with the mirror host.
quay.io→quay-io.docker.kubit.devgcr.io→gcr-io.docker.kubit.devk8s.gcr.io→k8s-gcr-io.docker.kubit.devregistry.k8s.io→registry-k8s-io.docker.kubit.devghcr.io→ghcr-io.docker.kubit.devnvcr.io→nvcr-io.docker.kubit.devdocker.elastic.co→docker-elastic-co.docker.kubit.devregistry.gitlab.com→registry-gitlab-com.docker.kubit.devpkg.dev→pkg-dev.docker.kubit.devmcr.microsoft.com→mcr-microsoft-com.docker.kubit.devregistry.aliyuncs.com→registry-aliyuncs-com.docker.kubit.devdocker-registry(1|2|3).mariadb.com→mariadb.docker.kubit.dev
Troubleshooting
- Package not found: the mirror proxies public artifacts; private scopes may require upstream auth.
- Cache delay: new releases may take a short time to appear. Pull directly from upstream if urgent.