{"id":17760569,"url":"https://github.com/fuco1/docker-tunnel","last_synced_at":"2026-02-02T03:31:59.925Z","repository":{"id":150147514,"uuid":"90862049","full_name":"Fuco1/docker-tunnel","owner":"Fuco1","description":"Passwordless-root-login box running sshd - ideal for bridging connections into docker networks.","archived":false,"fork":false,"pushed_at":"2017-05-10T16:44:36.000Z","size":1,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-24T06:43:08.240Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/Fuco1.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":"2017-05-10T12:31:57.000Z","updated_at":"2019-01-09T20:56:12.000Z","dependencies_parsed_at":"2023-04-12T05:18:24.677Z","dependency_job_id":null,"html_url":"https://github.com/Fuco1/docker-tunnel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Fuco1/docker-tunnel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuco1%2Fdocker-tunnel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuco1%2Fdocker-tunnel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuco1%2Fdocker-tunnel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuco1%2Fdocker-tunnel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fuco1","download_url":"https://codeload.github.com/Fuco1/docker-tunnel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuco1%2Fdocker-tunnel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29003227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T01:32:03.847Z","status":"online","status_checked_at":"2026-02-02T02:00:07.448Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-26T19:05:43.938Z","updated_at":"2026-02-02T03:31:59.709Z","avatar_url":"https://github.com/Fuco1.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-tunnel\n\nFor when you want to \"wrap\" a service running on different docker network for local access.  This is useful for example when you don't want to expose ports in the original service (because you might for instance not know what ports will be free or where the stack will run etc.).\n\n# usage\n\nWith `docker-compose` you can create a tunnel sending all the local trafic to some service in a specified docker network\n\n``` yaml\nversion: '2'\n\nservices:\n  tunnel:\n    image: fuco1/docker-tunnel\n    ports:\n      # enable ssh tunelling from localhost only\n      - \"127.0.0.1:2222:22\"\n    networks:\n      - app-backend-network\n\nnetworks:\n  app-backend-network:\n    external:\n      name: app_backend-network\n\n```\n\nThen start it up with\n\n    docker-compose up -d\n\nand set up a tunnel with ssh\n\n    # suppose there is a service `mysql` in `backend-network` for docker-compose stack `app`\n    ssh -T root@127.0.0.1 -p 2222 -L 127.0.0.1:33306:mysql:3306\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuco1%2Fdocker-tunnel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuco1%2Fdocker-tunnel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuco1%2Fdocker-tunnel/lists"}