{"id":16695698,"url":"https://github.com/ninjamar/containd-cpp","last_synced_at":"2025-03-14T01:15:49.703Z","repository":{"id":159742520,"uuid":"577295930","full_name":"ninjamar/containd-cpp","owner":"ninjamar","description":"containerization tool","archived":false,"fork":false,"pushed_at":"2022-12-13T03:46:21.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T20:40:15.344Z","etag":null,"topics":["cgroups","containerization","containers","cpp"],"latest_commit_sha":null,"homepage":"","language":"C++","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/ninjamar.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-12-12T12:28:54.000Z","updated_at":"2024-08-05T00:37:37.000Z","dependencies_parsed_at":"2023-12-13T10:31:18.598Z","dependency_job_id":"b9bbc93d-28c1-4edf-941e-951330e8995b","html_url":"https://github.com/ninjamar/containd-cpp","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/ninjamar%2Fcontaind-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninjamar%2Fcontaind-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninjamar%2Fcontaind-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninjamar%2Fcontaind-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ninjamar","download_url":"https://codeload.github.com/ninjamar/containd-cpp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243505964,"owners_count":20301619,"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":["cgroups","containerization","containers","cpp"],"created_at":"2024-10-12T17:08:11.094Z","updated_at":"2025-03-14T01:15:49.663Z","avatar_url":"https://github.com/ninjamar.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Containd\nContaind is a contanerization utility meant to run a process in a container. Containd relies on the `clone` system call. \n\n## Setup\nRun `make setup` as root to install the rootfs (alpine linux). Disable cgroups (no root) with the `--no-cgroups` option. Run `make` to build\n\n## Usage\nRun `sudo ./containd` \n\n| Option              | Usage |\n| ------------------- | ----- |\n| `-p`                | int for maximum number of processes- default `max`|\n| `-m`                | int for maximum memory usage - default `max` |\n| `-r`                | string for rootfs path - default `./rootfs`      |\n| `-c`                | string for command to be run - default `/bin/sh`      |\n| `-stack`            | int for stack size - default `65536`      |\n| `--use-shell`       | option to use `system` instead of `execvp`      |\n| `--disable-network` | option to disable networking       |\n| `--no-cgroup`       | option to not use `cgroups` (voids `-p` and `-m`)      |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fninjamar%2Fcontaind-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fninjamar%2Fcontaind-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fninjamar%2Fcontaind-cpp/lists"}