{"id":16904702,"url":"https://github.com/rainingmaster/container500lines","last_synced_at":"2025-04-11T14:42:41.369Z","repository":{"id":88266033,"uuid":"183253429","full_name":"rainingmaster/container500lines","owner":"rainingmaster","description":null,"archived":false,"fork":false,"pushed_at":"2019-04-24T15:11:12.000Z","size":7,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T10:51:09.827Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/rainingmaster.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,"publiccode":null,"codemeta":null}},"created_at":"2019-04-24T15:09:25.000Z","updated_at":"2021-07-29T07:09:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"edec5e0c-bb91-445e-a2c1-267dd6888733","html_url":"https://github.com/rainingmaster/container500lines","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainingmaster%2Fcontainer500lines","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainingmaster%2Fcontainer500lines/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainingmaster%2Fcontainer500lines/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainingmaster%2Fcontainer500lines/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rainingmaster","download_url":"https://codeload.github.com/rainingmaster/container500lines/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248420277,"owners_count":21100351,"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-13T18:35:01.461Z","updated_at":"2025-04-11T14:42:41.364Z","avatar_url":"https://github.com/rainingmaster.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Changes\n\n* `seccomp.h`, also inlcude `linux/seccomp.h`. Also, `sudo apt-get install -y\n  libseccomp-dev`\n\n* `sys/capability.h` was not found until after `sudo apt-get install -y\n  libcap-dev`\n\n* There seems to be a thing about `CLONE_NEWCGROUP`. The macro is defined in\n  `linux/sched.h` but not in `sched.h`. This also seems to be a 4.6 and greater\n  feature.\n\n* `linux/sched.h` only has cloning flags but not `clone()` declaration.\n\n```\n contained.c:487:29: error: ‘SCMP_FAIL’ undeclared (first use in this function)\n      || seccomp_rule_add(ctx, SCMP_FAIL, SCMP_SYS(chmod), 1,\n ```\n\n also see this [website](https://blog.lizzie.io/linux-containers-in-500-loc.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frainingmaster%2Fcontainer500lines","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frainingmaster%2Fcontainer500lines","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frainingmaster%2Fcontainer500lines/lists"}