Kubit logoKubit

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 /simple in 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.ioquay-io.docker.kubit.dev
  • gcr.iogcr-io.docker.kubit.dev
  • k8s.gcr.iok8s-gcr-io.docker.kubit.dev
  • registry.k8s.ioregistry-k8s-io.docker.kubit.dev
  • ghcr.ioghcr-io.docker.kubit.dev
  • nvcr.ionvcr-io.docker.kubit.dev
  • docker.elastic.codocker-elastic-co.docker.kubit.dev
  • registry.gitlab.comregistry-gitlab-com.docker.kubit.dev
  • pkg.devpkg-dev.docker.kubit.dev
  • mcr.microsoft.commcr-microsoft-com.docker.kubit.dev
  • registry.aliyuncs.comregistry-aliyuncs-com.docker.kubit.dev
  • docker-registry(1|2|3).mariadb.commariadb.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.