{"id":13563629,"url":"https://github.com/lizrice/containers-from-scratch","last_synced_at":"2025-04-08T09:04:55.111Z","repository":{"id":43266553,"uuid":"88681896","full_name":"lizrice/containers-from-scratch","owner":"lizrice","description":"Writing a container in a few lines of Go code, as seen at DockerCon 2017 and on O'Reilly Safari","archived":false,"fork":false,"pushed_at":"2023-01-15T15:06:48.000Z","size":6,"stargazers_count":1828,"open_issues_count":5,"forks_count":320,"subscribers_count":41,"default_branch":"master","last_synced_at":"2025-04-01T08:42:52.969Z","etag":null,"topics":["cgroups","containers","go","golang","namespaces"],"latest_commit_sha":null,"homepage":"http://lizrice.com","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/lizrice.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":"2017-04-19T00:15:35.000Z","updated_at":"2025-03-28T14:00:04.000Z","dependencies_parsed_at":"2023-02-09T22:30:20.416Z","dependency_job_id":null,"html_url":"https://github.com/lizrice/containers-from-scratch","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/lizrice%2Fcontainers-from-scratch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lizrice%2Fcontainers-from-scratch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lizrice%2Fcontainers-from-scratch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lizrice%2Fcontainers-from-scratch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lizrice","download_url":"https://codeload.github.com/lizrice/containers-from-scratch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247809964,"owners_count":20999816,"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","containers","go","golang","namespaces"],"created_at":"2024-08-01T13:01:21.503Z","updated_at":"2025-04-08T09:04:55.078Z","avatar_url":"https://github.com/lizrice.png","language":"Go","funding_links":[],"categories":["Go","Repositories"],"sub_categories":[],"readme":"# containers-from-scratch\nWriting a container in a few lines of Go code, as seen at [DockerCon 2017](https://www.youtube.com/watch?v=MHv6cWjvQjM\u0026t=1316s) and on [O'Reilly Safari](https://www.safaribooksonline.com/library/view/how-to-containerize/9781491982310/)\n\nYou need root permissions for this version to work. Or you can adapt it to be a rootless container by as shown in [these slides](https://speakerdeck.com/lizrice/rootless-containers-from-scratch). \n\nNote that the Go code uses some syscall definitions that are only available when building with GOOS=linux.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flizrice%2Fcontainers-from-scratch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flizrice%2Fcontainers-from-scratch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flizrice%2Fcontainers-from-scratch/lists"}