{"id":13648440,"url":"https://github.com/darwin-containers/homebrew-formula","last_synced_at":"2025-04-22T07:31:35.412Z","repository":{"id":196388478,"uuid":"695977892","full_name":"darwin-containers/homebrew-formula","owner":"darwin-containers","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-02T14:19:26.000Z","size":46,"stargazers_count":639,"open_issues_count":0,"forks_count":9,"subscribers_count":18,"default_branch":"main","last_synced_at":"2025-04-17T17:16:32.019Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darwin-containers.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-24T19:25:07.000Z","updated_at":"2025-04-03T00:46:31.000Z","dependencies_parsed_at":"2023-09-25T01:51:47.229Z","dependency_job_id":"76c97a2f-264f-4483-b1ae-ab4f936530ad","html_url":"https://github.com/darwin-containers/homebrew-formula","commit_stats":null,"previous_names":["macoscontainers/homebrew-formula","darwin-containers/homebrew-formula"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darwin-containers%2Fhomebrew-formula","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darwin-containers%2Fhomebrew-formula/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darwin-containers%2Fhomebrew-formula/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darwin-containers%2Fhomebrew-formula/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darwin-containers","download_url":"https://codeload.github.com/darwin-containers/homebrew-formula/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250195033,"owners_count":21390230,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T01:04:15.233Z","updated_at":"2025-04-22T07:31:35.162Z","avatar_url":"https://github.com/darwin-containers.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"= Darwin _native_ containers\n:source-highlighter: rouge\n\nWARNING: This software is _very_ alpha.\nUse at your own risk.\n\n== Installation\n\nPrerequisites:\n\n- Catalina or newer\n- Disable https://developer.apple.com/documentation/security/disabling_and_enabling_system_integrity_protection[System Integrity Protection].\nSIP https://github.com/containerd/containerd/discussions/5525#discussioncomment-2685649[doesn't allow] to `chroot`.\n- https://brew.sh[Homebrew]\n\n// TODO: Suggest fuse-t as an alternative to macfuse\n\n[source,shell]\n----\n# Install packages\nbrew install --cask macfuse\nbrew install docker docker-buildx darwin-containers/formula/dockerd\n\n# Start services\nsudo brew services start containerd\nsudo brew services start dockerd\n----\n\nThen, add `\"cliPluginsExtraDirs\"` to `~/.docker/config.json`, so Docker is able to find buildx plugin:\n```json\n{\n  \"cliPluginsExtraDirs\": [\n      \"/opt/homebrew/lib/docker/cli-plugins\"\n  ]\n}\n```\n\n== Usage\n\nAuthenticate to GitHub Container Registry using https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#authenticating-to-the-container-registry[instructions].\n\n[source,shell]\n----\necho \u003cYOUR_ACCESS_TOKEN\u003e | docker login ghcr.io -u \u003cGITHUB_USERNAME\u003e --password-stdin\n----\n\nThen, run your first Darwin container:\n\n.On Apple Silicon\n[source,shell]\n----\nsudo go run cmd/ctr/main.go run --rm -t --runtime \"$(pwd)/../rund/bin/containerd-shim-rund-v1\" ghcr.io/darwin-containers/darwin-jail/ventura-arm64:latest my_container /bin/sh -c 'echo \"Hello from Darwin container ^_^\"'\n----\n\n.On Intel\n[source,shell]\n----\nsudo go run cmd/ctr/main.go run --rm -t --runtime \"$(pwd)/../rund/bin/containerd-shim-rund-v1\" ghcr.io/darwin-containers/darwin-jail/ventura-i386:latest my_container /bin/sh -c 'echo \"Hello from Darwin container ^_^\"'\n----\n\n== How does it work?\n\nSee https://github.com/darwin-containers/rund#rund[rund] repository for under-the-hood machinery.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarwin-containers%2Fhomebrew-formula","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarwin-containers%2Fhomebrew-formula","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarwin-containers%2Fhomebrew-formula/lists"}