{"id":34118086,"url":"https://github.com/clecherbauer/docker-alias","last_synced_at":"2026-06-01T00:31:37.287Z","repository":{"id":44443814,"uuid":"163422694","full_name":"clecherbauer/docker-alias","owner":"clecherbauer","description":"Loader for containerized-tools","archived":false,"fork":false,"pushed_at":"2025-09-19T22:09:48.000Z","size":23239,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-26T02:29:21.008Z","etag":null,"topics":["aliases","containerization","containerized-dev-tools","developer-tool","development-environment","docker","docker-dev-environment","docker-permissions","docker-tool","tool"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clecherbauer.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":"2018-12-28T15:09:56.000Z","updated_at":"2025-09-19T22:04:24.000Z","dependencies_parsed_at":"2025-09-02T12:57:58.171Z","dependency_job_id":"e81e6831-aa64-4e9b-b83c-08a1f64d587e","html_url":"https://github.com/clecherbauer/docker-alias","commit_stats":null,"previous_names":["lebokus/docker-alias"],"tags_count":35,"template":false,"template_full_name":null,"purl":"pkg:github/clecherbauer/docker-alias","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clecherbauer%2Fdocker-alias","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clecherbauer%2Fdocker-alias/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clecherbauer%2Fdocker-alias/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clecherbauer%2Fdocker-alias/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clecherbauer","download_url":"https://codeload.github.com/clecherbauer/docker-alias/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clecherbauer%2Fdocker-alias/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33755369,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"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":["aliases","containerization","containerized-dev-tools","developer-tool","development-environment","docker","docker-dev-environment","docker-permissions","docker-tool","tool"],"created_at":"2025-12-14T20:44:03.315Z","updated_at":"2026-06-01T00:31:37.282Z","avatar_url":"https://github.com/clecherbauer.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# docker-alias\nRun containerised tooling as if it were installed natively.\n\n`docker-alias` manages small helper binaries that forward every invocation into a Docker container. The project keeps your host clean, provides reproducible environments and handles user/permission issues so that containerised tools feel native.\n\n## Highlights\n- One command per tool: map frequently-used commands to dedicated containers and run them like local binaries\n- Automatic user handling: optionally inject a user-switcher so files created in containers match your host permissions\n- Config-driven workflow: describe containers, volumes, and overrides in a YAML file; reloads are handled by the daemon\n- Smart image management: rebuild images when Dockerfiles change, or opt-out per container when you manage images yourself\n- Shell-friendly: `$PATH` integration through generated shim binaries, support for per-command defaults, environment files, and conditional overrides\n\n## Requirements\n- Docker Engine \u003e= 20.x\n- Systemd (used by the installer to register the daemon)\n\n## Installation\nChoose the option that best matches your environment.\n\n### Online installer (recommended)\n```bash\nwget -q -O - \"https://gitlab.com/clecherbauer/tools/docker-alias/-/raw/v2.4.9/linux/online-installer.sh\" | bash\n```\nThe script downloads the latest release, installs binaries under `~/.local/docker-alias`, links `docker-alias` and `docker-alias-daemon` into `~/.local/bin`, and amends your shell rc files so the generated shims are on `PATH`.\n\n### Install from source\n```bash\ngit clone https://gitlab.com/clecherbauer/tools/docker-alias.git\ncd docker-alias/docker-alias\n./setup.sh install\n```\nThis copies the project into `~/.local/docker-alias` and prepares the CLI/daemon just like the online installer.\n\n### Upgrading or uninstalling\n- Re-run either installer to upgrade in place; existing configuration files are preserved.\n- Remove everything with `~/.local/docker-alias/setup.sh uninstall`.\n\n## Getting Started\n1. **Start the daemon:** `docker-alias-daemon start` (add `--no-daemon` for foreground mode).\n2. **Create a configuration:** write a `docker-alias.yml` describing your containers and volumes (see [`docs/configuration-manual.md`](docs/configuration-manual.md)).\n3. **Register the configuration:** `docker-alias add` (optionally use `--path /path/to/docker-alias.yml`). Shim binaries are generated immediately.\n4. **Verify commands:** `docker-alias list` prints all generated commands and their backing docker invocations.\n5. **Run your tooling:** execute the command name directly (for example `node` or `pyinstaller`). The generated shim forwards the call into the configured container.\n\n## CLI reference\n- `docker-alias add [--path \u003cfile\u003e]` – Register a `docker-alias.yml` and generate shim binaries immediately.\n- `docker-alias remove [--path \u003cfile\u003e]` – Deregister a configuration file and prune its shim binaries.\n- `docker-alias list` – Show all tool commands and their resolved docker run syntax.\n- `docker-alias run \u003ccontainer|command\u003e [args…]` – Run a container or command once without needing the shim.\n- `docker-alias build [all|\u003ccontainer\u003e]` – Trigger an image build for all or selected containers defined in the YAML file.\n- `docker-alias enable|disable` – Toggle generation of shim binaries without deleting configuration.\n\nThe daemon accepts `start [--no-daemon]` and `stop`. On Linux the PID file defaults to `~/.config/docker-alias/docker-alias.pid` and can be overridden with `DOCKER_ALIAS_PID_FILE`.\n\n## Configuration\n- `docker-alias.yml` files are discovered from the working directory upwards. Each registered file contributes containers and commands.\n- Global volumes, per-container volumes, networks, environment variables, command defaults, and conditional overrides are supported.\n- Variables such as `$YAML_LOCATION_DIR`, `$UID`, `$DEFAULT_WORKING_DIR`, and environment variables are interpolated before Docker sees the configuration.\n\nA full breakdown of the YAML structure, available attributes, and advanced features lives in the [configuration manual](docs/configuration-manual.md).\n\n## Data locations\n- Shim binaries: `~/.local/docker-alias/bin`\n- CLI/daemon binaries: `~/.local/docker-alias`\n- Configuration \u0026 state: `~/.config/docker-alias`\n\nKeep these directories under version control or backup if you rely on customised defaults.\n\n## Support \u0026 contributing\nIssues and merge requests are welcome. Start by opening an issue in the project repository with your scenario, environment information, and relevant YAML snippets.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclecherbauer%2Fdocker-alias","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclecherbauer%2Fdocker-alias","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclecherbauer%2Fdocker-alias/lists"}