{"id":18151198,"url":"https://github.com/msantos/runlet_sh","last_synced_at":"2025-04-28T17:28:17.313Z","repository":{"id":136621528,"uuid":"209041174","full_name":"msantos/runlet_sh","owner":"msantos","description":"Generate runlets from containerized Unix processes","archived":false,"fork":false,"pushed_at":"2024-03-17T12:21:29.000Z","size":42,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-20T19:03:06.296Z","etag":null,"topics":["linux-namespaces","supervisor"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/msantos.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,"dei":null}},"created_at":"2019-09-17T11:57:13.000Z","updated_at":"2024-08-22T22:11:10.000Z","dependencies_parsed_at":"2024-03-16T14:19:21.355Z","dependency_job_id":null,"html_url":"https://github.com/msantos/runlet_sh","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msantos%2Frunlet_sh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msantos%2Frunlet_sh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msantos%2Frunlet_sh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msantos%2Frunlet_sh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msantos","download_url":"https://codeload.github.com/msantos/runlet_sh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251354564,"owners_count":21576215,"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":["linux-namespaces","supervisor"],"created_at":"2024-11-02T01:06:54.117Z","updated_at":"2025-04-28T17:28:17.295Z","avatar_url":"https://github.com/msantos.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RunletSh\n\n[![Package Version](https://img.shields.io/hexpm/v/runlet_sh)](https://hex.pm/packages/runlet_sh)\n[![Hex Docs](https://img.shields.io/badge/hex-docs)](https://hexdocs.pm/runlet_sh/)\n\nGenerate [runlets](https://github.com/msantos/runlet) from containerized\nUnix processes.\n\n## Installation\n\nAdd `runlet_sh` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [{:runlet_sh, github: \"msantos/runlet_sh\"}]\nend\n```\n### Create Container Root Filesystem\n\n```\nmkdir -p priv/root/bin priv/root/sbin \\\n   priv/root/usr priv/root/lib priv/root/lib64 \\\n   priv/root/opt priv/root/tmp priv/root/home priv/root/proc\n```\n\n## Configuration\n\n### UID/GID\n\nThe UID/GID of the containerized processes is selected from one of\n65535 UIDs beginning from 0xF0000000. Systems may limit the maximum UID:\nsetting a UID above the limit will fail with `{:error, :einval}`.\n\n#### config/config.exs: Set Minimum UID\n\nTo set a lower UID offset:\n\n```\nimport Config\n\nconfig :runlet,\n  uidmin: 0x80000\n```\n\n### config/config.exs: Set Function to Select UID\n\n```\nimport Config\n\nconfig :runlet,\n  uidfun: fn _uidmin -\u003e 65577 end\n```\n\n## Test\n\n### Privileges\n\n```\nyouruser ALL = NOPASSWD: /path/to/runlet_sh/deps/prx/priv/prx\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsantos%2Frunlet_sh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsantos%2Frunlet_sh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsantos%2Frunlet_sh/lists"}