{"id":13549906,"url":"https://github.com/bitbull-team/docker-exec-web-console","last_synced_at":"2026-01-16T02:32:29.324Z","repository":{"id":52669984,"uuid":"97599299","full_name":"bitbull-team/docker-exec-web-console","owner":"bitbull-team","description":"A web UI to docker exec from the browser","archived":false,"fork":false,"pushed_at":"2021-04-21T16:40:03.000Z","size":3165,"stargazers_count":86,"open_issues_count":4,"forks_count":39,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-11-03T19:37:22.740Z","etag":null,"topics":["docker","golang","shell","terminal","web-ui","xterm-js"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/bitbull-team.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}},"created_at":"2017-07-18T13:07:45.000Z","updated_at":"2024-09-18T09:32:21.000Z","dependencies_parsed_at":"2022-08-22T00:41:33.915Z","dependency_job_id":null,"html_url":"https://github.com/bitbull-team/docker-exec-web-console","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbull-team%2Fdocker-exec-web-console","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbull-team%2Fdocker-exec-web-console/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbull-team%2Fdocker-exec-web-console/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbull-team%2Fdocker-exec-web-console/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitbull-team","download_url":"https://codeload.github.com/bitbull-team/docker-exec-web-console/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246910955,"owners_count":20853652,"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":["docker","golang","shell","terminal","web-ui","xterm-js"],"created_at":"2024-08-01T12:01:26.881Z","updated_at":"2025-04-02T23:31:20.263Z","avatar_url":"https://github.com/bitbull-team.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# `docker exec` web console\n\nThis image is originally inspirated\nby [this gist](https://gist.github.com/Humerus/0268c62f359f7ee1ee2d).\n\nThe container use `socat` to bound Docker socket to a TCP port, so that I could avoid to change\nthe `http.Post` part in the Go server to talk directly to a UNIX socket.\n\nYou can launch the container in this way:\n\n```\ndocker run \\\n\t--name docker-exec-web-console \\\n\t-p 9999:8888 \\\n\t-v /var/run/docker.sock:/var/run/docker.sock \\\n\tbitbull/docker-exec-web-console\n```\n\nThen you can reach the console at the url `http://localhost:9999`\n\nIt's possible to pass a context path to which the container will responds, using `CONTEXT_PATH`\nenvironment variable:\n\n```\ndocker run \\\n\t--name docker-exec-web-console \\\n\t-p 9999:8888 \\\n\t-e \"CONTEXT_PATH=/webconsole\" \\\n\t-v /var/run/docker.sock:/var/run/docker.sock \\\n\tbitbull/docker-exec-web-console\n```\n\nWith the above example, the console will be reachable at the url `http://localhost:9999/webconsole`\n\nYou can select the container to exec into passing its id directly via `cid` querystring parameter (\neg. `http://localhost:9999?cid=\u003ccontainer id\u003e` ) or in the prompt that will show at page load.\n\nYou can pass the command to execute passing it via `cmd` querystring parameter (\neg. `http://localhost:9999?cid=\u003ccontainer id\u003e\u0026cmd=/bin/sh` ), otherwise it default to `/bin/bash`.\n\n## Build the image\n\nThe image is based on `alpine:latest`, so you need to compile the server for Linux with all libs\nstatically linked:\n\n```\nCGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o main .\n```\n\nthen you can build as usual:\n\n```\ndocker build -t bitbull/docker-exec-web-console .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitbull-team%2Fdocker-exec-web-console","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitbull-team%2Fdocker-exec-web-console","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitbull-team%2Fdocker-exec-web-console/lists"}