{"id":13903251,"url":"https://github.com/loft-sh/devpod-provider-dockerless","last_synced_at":"2025-04-15T01:14:26.662Z","repository":{"id":194969622,"uuid":"688501864","full_name":"loft-sh/devpod-provider-dockerless","owner":"loft-sh","description":"Devpod without Docker/Podman","archived":false,"fork":false,"pushed_at":"2024-04-26T14:38:45.000Z","size":5497,"stargazers_count":8,"open_issues_count":4,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-15T01:14:18.954Z","etag":null,"topics":["container-manager","containers","devcontainers","rootlesskit"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/loft-sh.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-07T13:30:25.000Z","updated_at":"2024-09-26T08:15:27.000Z","dependencies_parsed_at":"2023-09-16T02:00:45.420Z","dependency_job_id":"595ea581-d6da-45b9-8de6-67125d6ed5bd","html_url":"https://github.com/loft-sh/devpod-provider-dockerless","commit_stats":null,"previous_names":["loft-sh/devpod-provider-dockerless"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loft-sh%2Fdevpod-provider-dockerless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loft-sh%2Fdevpod-provider-dockerless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loft-sh%2Fdevpod-provider-dockerless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loft-sh%2Fdevpod-provider-dockerless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loft-sh","download_url":"https://codeload.github.com/loft-sh/devpod-provider-dockerless/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248986316,"owners_count":21194025,"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":["container-manager","containers","devcontainers","rootlesskit"],"created_at":"2024-08-06T22:01:55.271Z","updated_at":"2025-04-15T01:14:26.644Z","avatar_url":"https://github.com/loft-sh.png","language":"Go","funding_links":[],"categories":["containers"],"sub_categories":[],"readme":"# Dockerless Provider for DevPod\n\n[![Join us on Slack!](docs/static/media/slack.svg)](https://slack.loft.sh/) [![Open in DevPod!](https://devpod.sh/assets/open-in-devpod.svg)](https://devpod.sh/open#https://github.com/loft-sh/devpod-provider-dockerless)\n\nDockerless provider is useful for situations where you don't have Docker or Podman\ninstalled, you're on Linux, and you still want to use Devcontainers.\n\nDockerless provider will use [RootlessKit](https://github.com/rootless-containers/rootlesskit) for\nrootless containers (and `unshare` in case you're already root) to create namespaces.\nIt will use [Crane](https://github.com/google/go-containerregistry/#crane) to pull and manage images.\n\nAll dependencies are self-contained in the provider binary.\n\nThe target is to have simple, reasonably isolated and easy to use container alternatives, without\nexternal runtimes.\n\nUseful use-cases, are easy nested containers or slim, no-deps images.\n\n## Getting started\n\nThe provider is available for auto-installation using \n\n```sh\ndevpod provider add dockerless\ndevpod provider use dockerless\n```\n\nFollow the on-screen instructions to complete the setup.\n\nNeeded variables will be:\n\n- TARGET_DIR\n\n`TARGET_DIR` is where all the images, containers and state are stored.\n\nYou only need to specify where you want all of the `dockerless` data will be stored.\n\n## Run it\n\nAfter the initial setup, just use:\n\n```sh\ndevpod up .\n```\n\n## Run in a container\n\nTo run in a container, we need CAP_SYS_ADMIN (needed for the unshare, mount and pivot_root syscalls)\nTo have custom networking we also need access to /dev/net/tun\n\nWe DO NOT require root\nA nice way to run it is:\n\n`docker run --rm -ti --cap-add CAP_SYS_ADMIN --device /dev/net/tun --user 1000:1000 build-alpine:latest`\n\nUsing the image in the `image` folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floft-sh%2Fdevpod-provider-dockerless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floft-sh%2Fdevpod-provider-dockerless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floft-sh%2Fdevpod-provider-dockerless/lists"}