{"id":13471807,"url":"https://github.com/0xc0d/vessel","last_synced_at":"2025-04-10T04:32:01.406Z","repository":{"id":50936012,"uuid":"308759645","full_name":"0xc0d/vessel","owner":"0xc0d","description":"A tiny tool to manage containers (inspired by docker).","archived":false,"fork":false,"pushed_at":"2023-01-07T15:59:54.000Z","size":180,"stargazers_count":53,"open_issues_count":0,"forks_count":9,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-30T04:10:06.168Z","etag":null,"topics":["cgroups","containers","docker","golang","linux","namespace","unionfs"],"latest_commit_sha":null,"homepage":"https://medium.com/swlh/build-containers-from-scratch-in-go-part-1-namespaces-c07d2291038b","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/0xc0d.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}},"created_at":"2020-10-30T22:46:23.000Z","updated_at":"2024-10-08T20:06:16.000Z","dependencies_parsed_at":"2023-02-07T14:31:45.642Z","dependency_job_id":null,"html_url":"https://github.com/0xc0d/vessel","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/0xc0d%2Fvessel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xc0d%2Fvessel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xc0d%2Fvessel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xc0d%2Fvessel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xc0d","download_url":"https://codeload.github.com/0xc0d/vessel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223424327,"owners_count":17142745,"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","docker","golang","linux","namespace","unionfs"],"created_at":"2024-07-31T16:00:49.392Z","updated_at":"2024-11-06T22:16:02.387Z","avatar_url":"https://github.com/0xc0d.png","language":"Go","readme":"# vessel\nA tiny educational-purpose project to create containers, written in Go.\n\nIt basically is a tiny version of docker, it uses neither [containerd](https://containerd.io/) nor [runc](https://github.com/opencontainers/runc). Only a set of the Linux features.\n\n## Features\nVessel supports:\n* __Control Groups__ for resource restriction (CPU, Memory, Swap, PIDs)\n* __Namespace__ for global system resources isolation (Mount, UTS, Network, IPS, PID)\n* __Union File System__ for branches to be overlaid in a single coherent file system. (OverlayFS)\n\n## Read more\nHere is the list of blog posts I've written about vessel:\n\n1. [Build Containers From Scratch in Go (Part 1: Namespaces)](https://alijosie.medium.com/build-containers-from-scratch-in-go-part-1-namespaces-c07d2291038b)\n2. To be continued...\n\n## Install\n\n    go get -u github.com/0xc0d/vessel\n    \n## Usage\n\n    Usage:\n      vessel [command]\n    \n    Available Commands:\n      exec        Run a command inside a existing Container.\n      help        Help about any command\n      images      List local images\n      ps          List Containers\n      run         Run a command inside a new Container.\n\n## Examples\n\nRun `/bin/sh` in `alpine:latest`\n\n    vessel run alpine /bin/sh\n    vessel run alpine # same as above due to alpine default command\n\nRestart Nginx service inside a container with ID: 123456789123\n\n    vessel exec 1234567879123 systemctrl restart nginx\n    \nList running containers\n\n    vessel ps\n    \nList local images\n\n    vessel images\n\n## Notice\nvessel, obviously, is not a production ready container manager tool. \n","funding_links":[],"categories":["Go"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xc0d%2Fvessel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xc0d%2Fvessel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xc0d%2Fvessel/lists"}