{"id":22962996,"url":"https://github.com/richardcarls/docker-remotedev","last_synced_at":"2026-05-09T06:33:59.549Z","repository":{"id":89624039,"uuid":"96639664","full_name":"richardcarls/docker-remotedev","owner":"richardcarls","description":"A full Debian-based Docker image running GoTTY web terminal.","archived":false,"fork":false,"pushed_at":"2022-05-28T21:35:54.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-06T08:04:39.979Z","etag":null,"topics":["debian","docker-image","gotty","web-terminal"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/richardcarls.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-07-08T19:27:26.000Z","updated_at":"2022-05-28T20:19:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"881c1548-f0ca-4d24-9ba5-97022ff14db5","html_url":"https://github.com/richardcarls/docker-remotedev","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/richardcarls/docker-remotedev","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richardcarls%2Fdocker-remotedev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richardcarls%2Fdocker-remotedev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richardcarls%2Fdocker-remotedev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richardcarls%2Fdocker-remotedev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/richardcarls","download_url":"https://codeload.github.com/richardcarls/docker-remotedev/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richardcarls%2Fdocker-remotedev/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32809718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["debian","docker-image","gotty","web-terminal"],"created_at":"2024-12-14T19:19:23.037Z","updated_at":"2026-05-09T06:33:59.528Z","avatar_url":"https://github.com/richardcarls.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Remote Development Environment\n\nThis Docker image is a full Debian Linux environment running [GoTTY](https://github.com/yudai/gotty), which allows you to access a TTY inside the container from your web browser.\n\n## Usage\n```bash\ndocker run -p 8080:8080 richardcarls/remotedev\n```\nA GoTTY instance is available on port 8080 running `/bin/login` by default. Check the container log for the generated root password to login, or supply one with `-e ROOT_PASSWORD`.\n\n### Run as user\n```bash\ndocker run -e LOGIN_UID=`id myuser -u` -p 8080:8080 richardcarls/remotedev\n```\nBy specifying `LOGIN_UID`, the init script creates a user in the container for login. The `sudo` command is available inside the container and the user is automatically added to the `sudo` group. The default user name `dev` can be overriden with `-e LOGIN_NAME`. Check the log for the generated login password, or specify one with `-e LOGIN_PASSWORD`.\n\n### Mounting home directory\n```bash\ndocker run -v /some/host/directory:/userdata -p 8080:8080 richardcarls/remotedev\n```\n`/userdata` is symlinked to the container user's `$HOME` (or `/root` if running as root). If `LOGIN_UID` is not specified, *the uid of the mounted host directory is used to create the login user*. The init script does not modify permissions on this folder so it should be safe to mount your local home directory.\n\n### Configure GoTTY\nBy default, gotty runs `/bin/login` and reads default options from a provided `.gotty` configuration file in /userdata. The default config allows browser client write (`--permit-write`) and reconnect (`--reconnect`, `--reconnect-timeout=10`). You may override these and supply other gotty options via docker command, environment variables, or a custom `.gotty` config in your mounted /userdata directory.\n\n### Included packages\nThe below packages are included on top of the base debian image:\n\n- `acl`\n- `bash-completion`\n- `curl`\n- `git`\n- `gpg`\n- `pwgen`\n- `nano`\n- `sudo`\n- `tmux`\n- `wget`\n\n### Install additional packages on container start\nYou can specify additional packages to install at container start by setting `-e INSTALL_PACKAGES`.\n\n```bash\ndocker run -v /some/host/directory:/userdata -e INSTALL_PACKAGES=\"emacs-nox nodejs\" -p 8080:8080 richardcarls/remotedev\n```\n\n### Run a startup script on ontainer start\nProvide the path to a startup script to run with `-e STARTUP_EXEC` (relative to $HOME).\n\n```bash\ndocker run -v /some/host/directory:/userdata -e STARTUP_EXEC=\"your-startup-script.sh\" -p 8080:8080 richardcarls/remotedev\n```\n\n## Change History\n\n### 2.2.3\n- Remove openssh, add curl to image\n\n### 2.2.2\n- Fixed entrypoint point line-endings\n\n### 2.2.1\n- Swtich to using debian:latest\n\n### 2.2.0\n- Bump gotty to latest version 1.0.1\n- Expose a second port (useful to run a dev server)\n\n### 2.1.0\n- Added startup script hok\n\n### 2.0.0\n- Added package install hook\n- Some default packages\n\n### 1.0.0\nInitial release","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichardcarls%2Fdocker-remotedev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frichardcarls%2Fdocker-remotedev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichardcarls%2Fdocker-remotedev/lists"}