{"id":23594260,"url":"https://github.com/pexmor/tooldock","last_synced_at":"2026-05-05T20:31:39.697Z","repository":{"id":172673626,"uuid":"303614543","full_name":"PexMor/tooldock","owner":"PexMor","description":"Toolbox in a docker. A collection of utilities used in various situation. By containerizing them it is host OS independent.","archived":false,"fork":false,"pushed_at":"2021-07-06T11:29:40.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-17T14:09:24.638Z","etag":null,"topics":["bash","containers","docker","dockerfile","tmux","toolbox","tools"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/PexMor.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}},"created_at":"2020-10-13T06:53:52.000Z","updated_at":"2021-07-11T15:18:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"35e1b5bc-f1d1-4a01-bc6e-1cb4b0ac0b8f","html_url":"https://github.com/PexMor/tooldock","commit_stats":null,"previous_names":["pexmor/tooldock"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PexMor/tooldock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PexMor%2Ftooldock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PexMor%2Ftooldock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PexMor%2Ftooldock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PexMor%2Ftooldock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PexMor","download_url":"https://codeload.github.com/PexMor/tooldock/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PexMor%2Ftooldock/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260380038,"owners_count":23000194,"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":["bash","containers","docker","dockerfile","tmux","toolbox","tools"],"created_at":"2024-12-27T09:16:27.685Z","updated_at":"2026-05-05T20:31:39.692Z","avatar_url":"https://github.com/PexMor.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tooldock\n\nToolbox in a docker.\n\n__Purpose:__ use docker as lightweight VM\n\n__Use-cases:__\n\n* multitude of VPNs (VPNs tends to override complete networking)\n* run small portable apps (i.e. certmonger)\n\n## General usage\n\nIngredients:\n\n* the Docker installed\n* the image (made by `01build.sh`)\n* installed `tmux` (or `screen`)\n\n### Inside the host terminal\n\nYou would need the running container and then attach to that container using multiple consoles.\n\n1. start the container `./05run.sh`\n2. start `tmux` session\n\n### Life inside the tmux session\n\n1. attach to the running container `./10exec.sh` - start interactive shell\n2. attach to it again from second tmux pane (new pane `Ctrl + b and c`)\n3. detach from the `tmux` and let it live in the background (detach: `Ctrl + b and d`, re-attach using `tmux a`)\n\n\u003e Note: to rename pane `Ctrl + b and ,`, to list sessions `tmux ls`\n\n## Bash netns\n\nThis a small and independent script that let's you enter network namespace without need of containers. It utilizes the excelent tool of iproute2, which offers subcommand `netns`.\n\nIt consists of two files the main script `70netNsBash.sh` and the customization script `custom_ns_bash.sh` which __NOT__ part of the repo as it will be... well custom. But there is an example you can start with `custom_ns_bash.sh.example`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpexmor%2Ftooldock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpexmor%2Ftooldock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpexmor%2Ftooldock/lists"}