{"id":23491336,"url":"https://github.com/aeron/404-container","last_synced_at":"2026-04-25T12:36:25.734Z","repository":{"id":62655066,"uuid":"560585975","full_name":"Aeron/404-container","owner":"Aeron","description":"A super-compact HTTP 404 container.","archived":false,"fork":false,"pushed_at":"2026-03-16T13:14:47.000Z","size":45,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-17T01:33:43.289Z","etag":null,"topics":["404","container-image","default-backend","docker-image"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Aeron.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":"2022-11-01T20:24:51.000Z","updated_at":"2026-03-16T13:14:43.000Z","dependencies_parsed_at":"2023-02-19T01:30:33.180Z","dependency_job_id":"f95d7ad6-0fbf-4a6f-b812-2f716590cca1","html_url":"https://github.com/Aeron/404-container","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/Aeron/404-container","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aeron%2F404-container","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aeron%2F404-container/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aeron%2F404-container/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aeron%2F404-container/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aeron","download_url":"https://codeload.github.com/Aeron/404-container/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aeron%2F404-container/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32262801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T09:15:33.318Z","status":"ssl_error","status_checked_at":"2026-04-25T09:15:31.997Z","response_time":59,"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":["404","container-image","default-backend","docker-image"],"created_at":"2024-12-25T01:26:54.935Z","updated_at":"2026-04-25T12:36:25.711Z","avatar_url":"https://github.com/Aeron.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 404 Container\n\nIt’s a super-compact container with the sole purpose of responding with HTTP 404.\nAnd it’s written in Rust and `async-std`.\n\n## Motivation\n\nIt mainly exists because I wanted a tiny-tiny performant default back-end for my\nHAProxy Ingress Kubernetes deployments.\n\nThe usual default `k8s.gcr.io/defaultbackend-amd64` does not fit the bill quite well\nto my taste. Especially when its `arm64` variant gives you a platform mismatch error,\ndeclaring the image’s platform is `linux/amd64`.\n\n(At least, it has been doing it at the moment of writing this. Who knows why—it’s\nfour years old.)\n\nAlso, there may be a room or a requirement for customization or extra configurability.\n\n## Usage\n\nThe container image is available as [`docker.io/aeron/404`][docker] and\n[`ghcr.io/Aeron/404`][github]. You can use both interchangeably.\n\n```sh\ndocker pull docker.io/aeron/404\n# …or…\ndocker pull ghcr.io/aeron/404\n```\n\n[docker]: https://hub.docker.com/r/aeron/404\n[github]: https://github.com/Aeron/404-container/pkgs/container/404\n\n### Container Running\n\nRunning a container is pretty straightforward:\n\n```sh\ndocker -d --restart unless-stopped --name http-404 \\\n    --user=65534 \\\n    -p 80/8080:tcp \\\n    docker.io/aeron/404\n```\n\nBy default, the containerized app listens on the `0.0.0.0:8080` address.\n\nHowever, you can also provide the `PORT` environment variable with a desired port\nnumber value. Just like so:\n\n```sh\ndocker -d --restart unless-stopped --name http-404 \\\n    --user=65534 \\\n    -e PORT=1080 \\\n    -p 80/1080:tcp \\\n    docker.io/aeron/404\n```\n\nDon’t forget about the unprivileged user trick. The container itself won’t enforce\nany specific UID.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeron%2F404-container","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faeron%2F404-container","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeron%2F404-container/lists"}