# maguowei/k8s-docker-desktop-for-mac

Docker Desktop for Mac 开启并使用 Kubernetes

Repository: https://github.com/maguowei/k8s-docker-desktop-for-mac
Canonical: https://ross.abutalabs.com/products/k8s-docker-desktop-for-mac
Homepage: https://github.com/gotok8s/gotok8s
Language: Batchfile
License: MIT
License Family: permissive
Topics: kubernetes, k8s, docker-for-mac, docker, k8s-for-china
Last push: 2024-05-26T08:08:10+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3075, "days_push": 829, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1476, forks 328 (observed 2026-08-28T04:04:50.166795+00:00)

## What it is
A set of shell scripts and GitHub Actions automation that syncs Kubernetes images from k8s.gcr.io to Docker Hub so Docker Desktop for Mac users can enable a local Kubernetes cluster behind restricted networks. It reloads the images locally and retags them to their original names so the cluster starts successfully.

## Use cases
- enable kubernetes in docker desktop on mac behind a restricted network
- pull k8s.gcr.io images when they are blocked
- set up a local kubernetes cluster for learning on mac
- mirror kubernetes images to docker hub automatically
- fix docker desktop kubernetes failing to start due to image pull errors
- retag synced kubernetes images to their original tags

## When to choose
- you use Docker Desktop on macOS and cannot pull images from k8s.gcr.io due to network restrictions
- you want a quick local Kubernetes cluster for learning and development
- you need a simple script-based mirror rather than a full registry proxy

## When to avoid
- you are on Linux or Windows rather than Docker Desktop for Mac
- you need a production-grade cluster or full registry mirror service
- your network can reach k8s.gcr.io directly
- you need a Kubernetes version not covered by the synced image list

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: container-orchestration, developer-tools, deployment
- domain: developer-tools
- platform: cli
- tags: kubernetes, docker-desktop, image-mirror, china-network, shell-scripts, local-cluster, containers, devops, macos, docker

## Member repositories
- maguowei/k8s-docker-desktop-for-mac (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:50.166795+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:34:27.970789+00:00, confidence not recorded.
  - readme: https://github.com/maguowei/k8s-docker-desktop-for-mac (fetched 2026-08-28T04:04:50.166795+00:00, sha 145abefcaef1)
  - homepage: https://github.com/gotok8s/gotok8s (fetched 2026-08-29T11:41:38.386678+00:00, sha e49bcaa8415f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
