{"id":20799992,"url":"https://github.com/duhdugg/custom-toolboxes","last_synced_at":"2025-05-07T00:02:53.294Z","repository":{"id":55613702,"uuid":"484137161","full_name":"duhdugg/custom-toolboxes","owner":"duhdugg","description":"a set of customized base toolbox containers using a directory structure that makes them simple to modify","archived":false,"fork":false,"pushed_at":"2023-01-04T04:20:16.000Z","size":18,"stargazers_count":16,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T04:12:24.715Z","etag":null,"topics":["archlinux","containers","debian","fedora","oci-images","toolbox","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/duhdugg.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}},"created_at":"2022-04-21T17:04:10.000Z","updated_at":"2025-03-04T12:51:06.000Z","dependencies_parsed_at":"2023-02-01T20:01:45.881Z","dependency_job_id":null,"html_url":"https://github.com/duhdugg/custom-toolboxes","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/duhdugg%2Fcustom-toolboxes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duhdugg%2Fcustom-toolboxes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duhdugg%2Fcustom-toolboxes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duhdugg%2Fcustom-toolboxes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duhdugg","download_url":"https://codeload.github.com/duhdugg/custom-toolboxes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252788514,"owners_count":21804284,"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":["archlinux","containers","debian","fedora","oci-images","toolbox","ubuntu"],"created_at":"2024-11-17T18:11:51.195Z","updated_at":"2025-05-07T00:02:53.131Z","avatar_url":"https://github.com/duhdugg.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Custom Toolboxes\n\nThis repo provides a set of customized base [toolbox\ncontainers](https://github.com/containers/toolbox) using a directory structure that\nmakes them simple to modify.\n\n## Build\n\n```bash\n# bin/build-toolbox [variant] [optional: containername]\n# examples\nbin/build-toolbox arch\nbin/build-toolbox arch-testing\nbin/build-toolbox debian\nbin/build-toolbox fedora\nbin/build-toolbox ubuntu\n\n# this will build an arch toolbox named dev-toolbox (instead of arch-toolbox)\nbin/build-toolbox arch dev-toolbox\n```\n\n## Enter\n\n```bash\n# toolbox enter [containername]\ntoolbox enter arch-toolbox\ntoolbox enter arch-testing-toolbox\ntoolbox enter debian-toolbox\ntoolbox enter fedora-toolbox\ntoolbox enter ubuntu-toolbox\ntoolbox enter dev-toolbox\n```\n\n## Variant Directory Structure\n\n- 📂 `variant-name`\n  - 📄 `Containerfile`: for building the OCI container\n  - 📂 `fs`: everything under here is added to the root filesystem within the container\n    - 📂 `build`\n      - 📄 `install.sh`: installation script\n      - 📄 `toolbox-dependencies`: minimum additional packages required\n      - 📄 `extra-packages`: everything else you want installed should go in here\n    - 📂 `etc`\n      - 📂 `sudoers.d`\n        - 📄 `toolbox`: should allow users in wheel group to use sudo with no password\n\n## Troubleshooting\n\n### X11 apps not working\n\nWhen attempting to run an X11 application from within the toolbox, you may get the\nfollowing error:\n\n```text\nAuthorization required, but no authorization protocol specified\nError: Can't open display: :0\n```\n\nTo fix this, you can use\n[xorg-xauth](https://www.x.org/releases/X11R7.7/doc/man/man1/xauth.1.xhtml) (on your\nhost machine) to give your container permission to communicate with X11. Run the\nfollowing, or add it to your X startup:\n\n```bash\nxauth add \"toolbox/unix$DISPLAY\" . \"$(xauth list | grep \"^$(hostname)/unix$DISPLAY\\s*MIT-MAGIC-COOKIE-1\\s*\" | awk '{print $3}')\"\n```\n\n### toolbox enter not working\n\nYou may be able to debug with:\n\n```bash\npodman stop -a # stops all containers\n# podman start --attach [containername]\npodman start --attach arch-toolbox\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduhdugg%2Fcustom-toolboxes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduhdugg%2Fcustom-toolboxes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduhdugg%2Fcustom-toolboxes/lists"}