{"id":16930724,"url":"https://github.com/schmichael/runz","last_synced_at":"2026-05-11T07:40:58.379Z","repository":{"id":233945804,"uuid":"788068147","full_name":"schmichael/runz","owner":"schmichael","description":"sample runc","archived":false,"fork":false,"pushed_at":"2024-04-17T18:23:15.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-17T19:30:22.214Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/schmichael.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2024-04-17T18:02:55.000Z","updated_at":"2024-04-17T19:30:31.052Z","dependencies_parsed_at":"2024-04-17T19:30:29.725Z","dependency_job_id":"c03c84e9-b21a-4323-a7e0-6f5f5dd4b4ee","html_url":"https://github.com/schmichael/runz","commit_stats":null,"previous_names":["schmichael/runz"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/schmichael/runz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schmichael%2Frunz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schmichael%2Frunz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schmichael%2Frunz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schmichael%2Frunz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schmichael","download_url":"https://codeload.github.com/schmichael/runz/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schmichael%2Frunz/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264796042,"owners_count":23665273,"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-10-13T20:42:20.672Z","updated_at":"2026-05-11T07:40:53.348Z","avatar_url":"https://github.com/schmichael.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# runz\n\nrunc's libcontainer example is a bit broken, so this is an attempt at a working\nexample.\n\nRequires:\n\n1. linux\n2. running as root\n3. a rootfs\n\nTo create the rootfs:\n\n```\nmkdir rootfs\ncd rootfs\n\ndocker export $(docker run --detach ubuntu:22.04) | tar x\n```\n\nTo run the sample code:\n```\ngo build\nsudo ROOTFS=/absolute/path/to/rootfs ./runz\n```\n\nYou should see something like:\n\n```\n2024/04/17 11:13:41 main()\n2024/04/17 11:13:41 running!\nHELLO123\n```\n\n## Resources\n\n- libcontainer readme: https://github.com/opencontainers/runc/blob/main/libcontainer/README.md\n- libcontainer nsenter readme: https://github.com/opencontainers/runc/blob/main/libcontainer/nsenter/README.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschmichael%2Frunz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschmichael%2Frunz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschmichael%2Frunz/lists"}