{"id":27329573,"url":"https://github.com/sky-big/fdocker","last_synced_at":"2025-04-12T12:58:50.099Z","repository":{"id":57597985,"uuid":"195372933","full_name":"sky-big/fdocker","owner":"sky-big","description":"fdocker is a simple container runc implementation in go, can use for learn, serverless of faas and so on","archived":false,"fork":false,"pushed_at":"2019-07-08T08:38:17.000Z","size":5217,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-06-20T13:31:12.809Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/sky-big/fdocker","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sky-big.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":"2019-07-05T08:40:16.000Z","updated_at":"2019-10-09T07:53:33.000Z","dependencies_parsed_at":"2022-08-30T01:50:34.978Z","dependency_job_id":null,"html_url":"https://github.com/sky-big/fdocker","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/sky-big%2Ffdocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sky-big%2Ffdocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sky-big%2Ffdocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sky-big%2Ffdocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sky-big","download_url":"https://codeload.github.com/sky-big/fdocker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248571918,"owners_count":21126521,"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":"2025-04-12T12:58:49.287Z","updated_at":"2025-04-12T12:58:50.081Z","avatar_url":"https://github.com/sky-big.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\nfdocker is a simple container runc implementation in go\n\n# QuickStart\n\n1. make sure operation system have aufs filesystem\n\n```\nmake init\n\nmake run\n```\n\n# Usage\n\n```\nroot@sky_big:~/gopath/src/github.com/sky-big/fdocker# fdocker\nNAME:\n   fdocker - fdocker is a simple container runtime for function invoke.\n\nUSAGE:\n   fdocker [global options] command [command options] [arguments...]\n\nVERSION:\n   0.0.0\n\nCOMMANDS:\n     init     Init container process run user's process in container. Do not call it outside\n     run      Create a container with namespace and cgroups limit ie: fdocker run -ti [image] [command]\n     ps       list all the containers\n     logs     print logs of a container\n     exec     exec a command into container\n     stop     stop a container\n     rm       remove unused containers\n     network  container network commands\n     inspec   inspec a container into\n     mem      get a container mem info\n     help, h  Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --help, -h     show help\n   --version, -v  print the version\n\n\nroot@sky_big:~/gopath/src/github.com/sky-big/fdocker# fdocker run -h\nNAME:\n   fdocker run - Create a container with namespace and cgroups limit ie: fdocker run -ti [image] [command]\n\nUSAGE:\n   fdocker run [command options] [arguments...]\n\nOPTIONS:\n   --ti              enable tty\n   -d                detach container\n   -m value          memory limit\n   --cpushare value  cpushare limit\n   --cpuset value    cpuset limit\n   --name value      container name\n   -v value          volume\n   -e value          set environment\n   --net value       container network\n   -p value          port mapping\n   -u value          user command owner\n   --images value    image store path\n```\n\n# Links\n\n1. https://github.com/xianlubird/mydocker\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsky-big%2Ffdocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsky-big%2Ffdocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsky-big%2Ffdocker/lists"}