Giter VIP home page Giter VIP logo

Comments (2)

tomeichlersmith avatar tomeichlersmith commented on June 2, 2024

for v0.1.0, podman is "functional". I am leaving the in-container user as the in-container root which is mapped to the user which executed podman. I would like to not do this and unify the experience of using podman compared to the other runners, but I am not as familiar with podman at this time.

denv/denv

Lines 217 to 225 in 690ea2a

# need to mount workspace in a special way for podman
# https://github.com/containers/podman/commit/82a050a58f2ef2cf940c2ef49e1f8c4b17ab8beb
if [ "${denv_runner}" = "podman" ]; then
# shellcheck disable=SC2312
#mounts="${mounts} --volume ${denv_workspace}:${denv_workspace}:idmap"
mounts="${mounts} --volume ${denv_workspace}:${denv_workspace}"
else
mounts="${mounts} --volume ${denv_workspace}:${denv_workspace}"
fi

denv/denv

Lines 249 to 254 in 690ea2a

# until podman makes a release v4.6.0 with idmap
# the simplest solution is to just have the in-container user be root
# https://github.com/containers/podman/commit/82a050a58f2ef2cf940c2ef49e1f8c4b17ab8beb
if [ "${denv_runner}" = "podman" ]; then
userspec="root"
fi

from denv.

tomeichlersmith avatar tomeichlersmith commented on June 2, 2024

This section of the root-less podman setup documentation points me towards another running flag --userns=keep-id which is probably what we actually just want instead of the more advanced idmap thing

from denv.

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.