{"id":21538107,"url":"https://github.com/xtuc/curltainer","last_synced_at":"2026-02-06T03:31:52.751Z","repository":{"id":264380946,"uuid":"893207926","full_name":"xtuc/curltainer","owner":"xtuc","description":"curl anything running inside a Docker container, even with no exposed ports","archived":false,"fork":false,"pushed_at":"2024-11-23T20:29:56.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-07T06:20:50.532Z","etag":null,"topics":["curl","docker","namespace","network"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/xtuc.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-23T20:17:55.000Z","updated_at":"2024-11-23T21:31:02.000Z","dependencies_parsed_at":"2024-11-23T21:30:54.914Z","dependency_job_id":null,"html_url":"https://github.com/xtuc/curltainer","commit_stats":null,"previous_names":["xtuc/curltainer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xtuc/curltainer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtuc%2Fcurltainer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtuc%2Fcurltainer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtuc%2Fcurltainer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtuc%2Fcurltainer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xtuc","download_url":"https://codeload.github.com/xtuc/curltainer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtuc%2Fcurltainer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29148140,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T02:39:25.012Z","status":"ssl_error","status_checked_at":"2026-02-06T02:37:22.784Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["curl","docker","namespace","network"],"created_at":"2024-11-24T04:08:25.516Z","updated_at":"2026-02-06T03:31:52.732Z","avatar_url":"https://github.com/xtuc.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# curltainer\n\n\u003e curl anything running inside a Docker container, even with no exposed ports\n\n## Install\n\n```\ncargo install curltainer\n```\n\n## Usage\n\n```\nUsage: curltainer --container-name \u003cCONTAINER_NAME\u003e [CURL_ARGS]...\n\nArguments:\n  [CURL_ARGS]...\n\nOptions:\n  -c, --container-name \u003cCONTAINER_NAME\u003e\n  -h, --help                             Print help\n  -V, --version                          Print version\n\n```\n\n## How it works?\n\nStart a Docker container with a HTTP server, with no ports exposed to the host:\n```\n$ docker run -d python python -m http.server 9000\na8c8e9...\n```\n\ncurl the server running inside the container from the host:\n```\n$ sudo curltainer -c a8c8e9... localhost:9000  -v\n\n*   Trying 127.0.0.1:9000...\n* Connected to localhost (127.0.0.1) port 9000 (#0)\n\u003e GET / HTTP/1.1\n\u003e Host: localhost:9000\n\u003e User-Agent: curl/7.81.0\n\u003e Accept: */*\n\u003e\n* Mark bundle as not supporting multiuse\n* HTTP 1.0, assume close after body\n\u003c HTTP/1.0 200 OK\n\u003c Server: SimpleHTTP/0.6 Python/3.13.0\n\u003c Date: Sat, 23 Nov 2024 20:16:00 GMT\n\u003c Content-type: text/html; charset=utf-8\n\u003c Content-Length: 877\n\u003c\n\u003c!DOCTYPE HTML\u003e\n\u003chtml lang=\"en\"\u003e\n...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtuc%2Fcurltainer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxtuc%2Fcurltainer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtuc%2Fcurltainer/lists"}