{"id":20377756,"url":"https://github.com/rolandjitsu/containerd-oci-import","last_synced_at":"2026-04-20T07:01:51.834Z","repository":{"id":65150549,"uuid":"318993555","full_name":"rolandjitsu/containerd-oci-import","owner":"rolandjitsu","description":"Export OCI images for use in containerd on a Raspberry Pi.","archived":false,"fork":false,"pushed_at":"2020-12-06T09:54:39.000Z","size":22,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-30T07:59:11.429Z","etag":null,"topics":["containerd","oci-image","raspberry-pi"],"latest_commit_sha":null,"homepage":"https://rolandsdev.blog/install-containerd-on-raspberry-pi","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rolandjitsu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-06T09:13:52.000Z","updated_at":"2024-09-28T14:37:48.000Z","dependencies_parsed_at":"2023-01-02T15:31:36.064Z","dependency_job_id":null,"html_url":"https://github.com/rolandjitsu/containerd-oci-import","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rolandjitsu/containerd-oci-import","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rolandjitsu%2Fcontainerd-oci-import","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rolandjitsu%2Fcontainerd-oci-import/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rolandjitsu%2Fcontainerd-oci-import/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rolandjitsu%2Fcontainerd-oci-import/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rolandjitsu","download_url":"https://codeload.github.com/rolandjitsu/containerd-oci-import/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rolandjitsu%2Fcontainerd-oci-import/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32036801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["containerd","oci-image","raspberry-pi"],"created_at":"2024-11-15T01:46:23.464Z","updated_at":"2026-04-20T07:01:51.803Z","avatar_url":"https://github.com/rolandjitsu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ContainerD OCI Import\n\u003e Build and export docker images as OCI for use with containerD on a Raspberry Pi.\n\n[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/rolandjitsu/containerd-oci-import/Test?label=tests\u0026style=flat-square)](https://github.com/rolandjitsu/containerd-oci-import/actions?query=workflow%3ATest)\n\n## Build\nBuild and export an OCI image with [buildx](https://github.com/docker/buildx#buildx-build-options-path--url---):\n```bash\ndocker buildx build --platform=linux/arm/v7 --tag hello -o type=oci,dest=- . \u003e hello.tar\n```\n**NOTE**: If you have [buildkit](https://github.com/moby/buildkit) installed, you can use that.\n\n## Import\nCopy the image to the pi:\n```bash\nscp ./hello.tar pi@raspberrypi.local:\n```\n\nOn the pi, import the image with `ctr`:\n```bash\nsudo ctr -n=example images import hello.tar\n```\n**NOTE**: We use the `example` namespace, but could just use the `default` one too.\n\nThe image should be available as `docker.io/library/hello:latest` after imported.\n\n## Use\nCopy the `main.go` file to the pi:\n```go\nscp ./main.go pi@raspberrypi.local:\n```\n\nBuild it:\n```bash\ngo build main.go\n```\n\nAnd run it:\n```bash\nsudo ./main\n```\n\nOr build it locally and copy it to the pi:\n```bash\nGOARCH=arm GOOS=linux go build -o main ./main.go\nscp ./main pi@raspberrypi.local:\nsudo ./main\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frolandjitsu%2Fcontainerd-oci-import","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frolandjitsu%2Fcontainerd-oci-import","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frolandjitsu%2Fcontainerd-oci-import/lists"}