Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

a set of customized base toolbox containers using a directory structure that makes them simple to modify

License

NotificationsYou must be signed in to change notification settings

duhdugg/custom-toolboxes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo provides a set of customized basetoolboxcontainers using a directory structure thatmakes them simple to modify.

Build

# bin/build-toolbox [variant] [optional: containername]# examplesbin/build-toolbox archbin/build-toolbox arch-testingbin/build-toolbox debianbin/build-toolbox fedorabin/build-toolbox ubuntu# this will build an arch toolbox named dev-toolbox (instead of arch-toolbox)bin/build-toolbox arch dev-toolbox

Enter

# toolbox enter [containername]toolbox enter arch-toolboxtoolbox enter arch-testing-toolboxtoolbox enter debian-toolboxtoolbox enter fedora-toolboxtoolbox enter ubuntu-toolboxtoolbox enter dev-toolbox

Variant Directory Structure

  • 📂variant-name
    • 📄Containerfile: for building the OCI container
    • 📂fs: everything under here is added to the root filesystem within the container
      • 📂build
        • 📄install.sh: installation script
        • 📄toolbox-dependencies: minimum additional packages required
        • 📄extra-packages: everything else you want installed should go in here
      • 📂etc
        • 📂sudoers.d
          • 📄toolbox: should allow users in wheel group to use sudo with no password

Troubleshooting

X11 apps not working

When attempting to run an X11 application from within the toolbox, you may get thefollowing error:

Authorization required, but no authorization protocol specifiedError: Can't open display: :0

To fix this, you can usexorg-xauth (on yourhost machine) to give your container permission to communicate with X11. Run thefollowing, or add it to your X startup:

xauth add"toolbox/unix$DISPLAY"."$(xauth list| grep"^$(hostname)/unix$DISPLAY\s*MIT-MAGIC-COOKIE-1\s*"| awk'{print $3}')"

toolbox enter not working

You may be able to debug with:

podman stop -a# stops all containers# podman start --attach [containername]podman start --attach arch-toolbox

About

a set of customized base toolbox containers using a directory structure that makes them simple to modify

Topics

Resources

License

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp