Coder Social home page Coder Social logo

How to build for alpine about udocker HOT 3 CLOSED

indigo-dc avatar indigo-dc commented on August 25, 2024
How to build for alpine

from udocker.

Comments (3)

jorge-lip avatar jorge-lip commented on August 25, 2024 2

Having said you can try the following once inside the alpine container running in Docker.

apk update
apk add curl
curl https://raw.githubusercontent.com/indigo-dc/udocker/devel/udocker.py > udocker
chmod a+rx udocker

apk add python
apk add tar
apk add findutils
apk add file
./udocker --allow-root install

Now to run a centos6 container:

./udocker --allow-root pull ubuntu:16
./udocker --allow-root create --name=c6 centos:centos6
./udocker --allow-root setup --execmode=F1 c6
./udocker --allow-root run --nosysdirs c6

Notice that running an Alpine container inside udocker itself does not yet work in
the Fn execution modes which are the only ones that can work inside Docker.
The default Pn modes do support Alpine containers execution but unfortunately
these modes require PTRACE which does not work inside Docker. We are
working to support Alpine containers execution in the Fn modes.

from udocker.

jorge-lip avatar jorge-lip commented on August 25, 2024

udocker is currently supported for CentOS, RH, Fedora, Ubuntu.
Execution of udocker inside Alpine is currently not supported, but feedback or contributions are welcome.

from udocker.

frezbo avatar frezbo commented on August 25, 2024

Thanks @jorge-lip i will try this out and let you know, super happy for the fast response and how the maintainers are enthusiastic on maintaining the project

from udocker.

Related Issues (20)

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.