GithubHelp home page GithubHelp logo

nickavem / toolboxexamples Goto Github PK

View Code? Open in Web Editor NEW
16.0 16.0 1.0 49 KB

A few short examples of using [toolbox](https://github.com/containers/toolbox) containers to their fullest potential.

License: GNU General Public License v3.0

Dockerfile 100.00%

toolboxexamples's People

Contributors

nickavem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

rosskarchner

toolboxexamples's Issues

Provide full images

Provide images that include proper documentation, completion, and other things you would expect.

No sound from Solfege (debian)

I create a debbox and sudo apt-get install solfege solfege-doc pulseaudio, then run solfege to test sound.

There is only a single clicking sound, followed by silence.

In contrast, my x11docker trick works with sound.

git clone https://github.com/mviereck/x11docker.git
 ./x11docker/x11docker --backend=podman --nxagent --pulseaudio --home -- --tmpfs /dev/shm -- localhost/solfege solfege

Dockerfile

Error creating toolbox - unexpected output from findmnt

Hi, thanks for the project.
Can you help me? I'm getting the following error message when trying to create any of the toolboxes.

➜  alpbox git:(main) toolbox create --image alpbox
Error: failed to get the mount options of /usr: unexpected output from findmnt(1)

System Information:
OS: Fedora 34.20210528.0 (Silverblue) x86_64
Kernel: 5.12.7-300.fc34.x86_64
podman-3.1.2-3.fc34.x86_64
podman-plugins-3.1.2-3.fc34.x86_64
toolbox-0.0.99.1-1.fc34.x86_64

Here is the complete sequence of commands and outputs:

➜  projects git clone https://github.com/nickavem/toolboxexamples.git
Cloning into 'toolboxexamples'...
remote: Enumerating objects: 178, done.
remote: Counting objects: 100% (178/178), done.
remote: Compressing objects: 100% (130/130), done.
remote: Total 178 (delta 69), reused 129 (delta 33), pack-reused 0
Receiving objects: 100% (178/178), 36.86 KiB | 5.27 MiB/s, done.
Resolving deltas: 100% (69/69), done.
➜  projects cd toolboxexamples
➜  toolboxexamples git:(main) cd dockerfiles/base/alpbox
➜  alpbox git:(main) podman build -t alpbox .
STEP 1: FROM docker.io/library/alpine:latest
STEP 2: ENV NAME=alpine-toolbox VERSION=latest
--> Using cache ea75c2024262736c8f12be221778218264f3499a8085e32bc09885da38259781
--> ea75c202426
STEP 3: LABEL com.github.containers.toolbox="true"       com.github.debarshiray.toolbox="true"       name="$NAME"       version="$VERSION"       usage="This image is meant to be used with the toolbox command"       summary="Base image for creating Alpine toolbox containers"       maintainer="Andrew Thurman <[email protected]>"
--> Using cache 27a93ff2728ec83c9ea17174de51a7283d202aa55cd8ed527d17ac671c11f266
--> 27a93ff2728
STEP 4: RUN apk add shadow sudo bash libcap
--> Using cache 3ae740c3e3b35262c77800619628703ddccc78999d283dbe3ba1cf6b49579fa0
--> 3ae740c3e3b
STEP 5: RUN touch /etc/host.conf /etc/hosts /etc/localtime /etc/resolv.conf /etc/timezone
--> Using cache 112defae62661ab4c7a26e60a3e1156be06d9220b299e41804f1940bc59e3a93
--> 112defae626
STEP 6: RUN mkdir /etc/krb5.conf.d
--> Using cache 11c3bc93522c21697697b100a9d22dc0c3fe6063b95301dddadeefcdcc8cd063
--> 11c3bc93522
STEP 7: RUN mkdir -p /etc/sudoers.d
--> Using cache e4381ded3436cdbe54d9dd4d0be5351b26e0eb3cd5a238bf782e44b6bcdd5919
--> e4381ded343
STEP 8: RUN echo "%wheel ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/10-toolbox
--> Using cache 1c6b042ea2b0ac49d2c3e96b8cc21d25f8c52585bc5a059b2d19264b6451004a
--> 1c6b042ea2b
STEP 9: RUN touch /etc/machine-id
--> Using cache e8cb586576fab5ac509f016c7401b4e6dd1c67d9a3c9ca1a42ca3dfe6ef1f556
--> e8cb586576f
STEP 10: RUN wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub
--> Using cache feff96f7aa5c6ac5e89a533d85c751f39f628b1bfac38c9e57a21221c22d90b7
--> feff96f7aa5
STEP 11: RUN wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.33-r0/glibc-2.33-r0.apk
--> Using cache 7ddceb574314a13ecc957df340686982414aada2cad1cc55149363253eda82c3
--> 7ddceb57431
STEP 12: RUN apk add glibc-2.33-r0.apk
--> Using cache aac772017087bdb6a16142b96ad0769a0cf7af2a2747d122af1d83fba816c11e
--> aac77201708
STEP 13: RUN rm -r /media
--> Using cache 812b506852c3d5c66d637d30cc30735b92aaf44058c3750c229173382bc532a2
--> 812b506852c
STEP 14: RUN ln -fs /etc/os-release /usr/lib/os-release
--> Using cache 3add9b2f4fafaafbb63e26258cd9b331d39f5ed5df4574c8ce6055e9afd82196
--> 3add9b2f4fa
STEP 15: RUN apk add ncurses-terminfo
--> Using cache 563738b45f00265cdb8db7d6050601b1749a1718f0c69ac5bf6492cbcda3c612
--> 563738b45f0
STEP 16: CMD /bin/sh
--> Using cache 1e173ba866f735b173440d1aebfbc0d9746f17cf09d45bf3134ebfac6798487e
STEP 17: COMMIT alpbox
--> 1e173ba866f
1e173ba866f735b173440d1aebfbc0d9746f17cf09d45bf3134ebfac6798487e
➜  alpbox git:(main) toolbox create --image alpbox
Error: failed to get the mount options of /usr: unexpected output from findmnt(1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.