{"id":15753447,"url":"https://github.com/dmotte/svcbox","last_synced_at":"2026-04-13T16:32:11.856Z","repository":{"id":237548716,"uuid":"794709049","full_name":"dmotte/svcbox","owner":"dmotte","description":"🚀 Docker image with supervisord and sshd","archived":false,"fork":false,"pushed_at":"2026-03-02T09:50:20.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-02T13:35:43.702Z","etag":null,"topics":["box","container","debian","docker","docker-compose","image","multiple","openssh","openssh-server","server","service","services","sshd","supervisor","supervisord","svc","svcbox"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/dmotte/svcbox","language":"Shell","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/dmotte.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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-05-01T19:36:59.000Z","updated_at":"2026-03-02T09:36:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"eacb50a1-6e3b-4f6a-8f59-15b5d99899d8","html_url":"https://github.com/dmotte/svcbox","commit_stats":null,"previous_names":["dmotte/svcbox"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dmotte/svcbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmotte%2Fsvcbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmotte%2Fsvcbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmotte%2Fsvcbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmotte%2Fsvcbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmotte","download_url":"https://codeload.github.com/dmotte/svcbox/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmotte%2Fsvcbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31761810,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["box","container","debian","docker","docker-compose","image","multiple","openssh","openssh-server","server","service","services","sshd","supervisor","supervisord","svc","svcbox"],"created_at":"2024-10-04T07:40:43.268Z","updated_at":"2026-04-13T16:32:11.849Z","avatar_url":"https://github.com/dmotte.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# svcbox\n\n![icon](icon.svg)\n\n[![GitHub main workflow](https://img.shields.io/github/actions/workflow/status/dmotte/svcbox/main.yml?branch=main\u0026logo=github\u0026label=main\u0026style=flat-square)](https://github.com/dmotte/svcbox/actions)\n[![Docker Pulls](https://img.shields.io/docker/pulls/dmotte/svcbox?logo=docker\u0026style=flat-square)](https://hub.docker.com/r/dmotte/svcbox)\n\n:rocket: Docker image with **supervisord** and **sshd**.\n\nIf you want a **rootless** version of this image, check out [dmotte/svcbox-rootless](https://github.com/dmotte/svcbox-rootless).\n\n\u003e :package: This image is also on **Docker Hub** as [`dmotte/svcbox`](https://hub.docker.com/r/dmotte/svcbox) and runs on **several architectures** (e.g. amd64, arm64, ...). To see the full list of supported platforms, please refer to the [`.github/workflows/main.yml`](.github/workflows/main.yml) file. If you need an architecture that is currently unsupported, feel free to open an issue.\n\n## Usage\n\nThe first things you need are **host keys** for the OpenSSH server and an **SSH key pair** for a client to be able to connect. See the usage example of [dmotte/docker-portmap-server](https://github.com/dmotte/docker-portmap-server) for how to get them. Note that all the **SSH client keys** must be put directly into the root of the `/ssh-client-keys` volume instead of subdirectories, and the image doesn't generate a key pair automatically if they are missing. Note also that the `authorized_keys` file is not regenerated if it already exists.\n\n**Warning**: it's a good practice to set the permissions of the root directory of the `/ssh-host-keys` and `/ssh-client-keys` volumes to `700`, to prevent regular users from reading their content.\n\nThe [`docker-compose.yml`](docker-compose.yml) file contains a complete usage example for this image. Feel free to simplify it and adapt it to your needs. Unless you want to build the image from scratch, comment out the `build: build` line to use the pre-built one from _Docker Hub_ instead.\n\nTo start the Docker-Compose stack in daemon (detached) mode:\n\n```bash\ndocker-compose up -d\n```\n\nThen you can view the logs using this command:\n\n```bash\ndocker-compose logs -ft\n```\n\nThis image supports **running commands at container startup** by mounting custom scripts at `/opt/startup-early/*.sh` and `/opt/startup-late/*.sh`. This is the same approach used by [dmotte/desktainer](https://github.com/dmotte/desktainer).\n\n## Environment variables\n\nList of supported **environment variables**:\n\n| Variable              | Required               | Description                                                               |\n| --------------------- | ---------------------- | ------------------------------------------------------------------------- |\n| `MAINUSER_NAME`       | No (default: mainuser) | Name of the main user                                                     |\n| `MAINUSER_NOPASSWORD` | No (default: `false`)  | Whether or not the main user should be allowed to `sudo` without password |\n\n## Development\n\nIf you want to contribute to this project, you can use the following one-liner to **rebuild the image** and bring up the **Docker-Compose stack** every time you make a change to the code:\n\n```bash\ndocker-compose down \u0026\u0026 docker-compose up --build\n```\n\n\u003e **Note**: I know that this Docker image has many **layers**, but this shouldn't be a problem in most cases. If you want to reduce its number of layers, there are several techniques out there, e.g. see [this](https://stackoverflow.com/questions/39695031/how-make-docker-layer-to-single-layer)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmotte%2Fsvcbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmotte%2Fsvcbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmotte%2Fsvcbox/lists"}