Code Monkey home page Code Monkey logo

Comments (14)

rhatdan avatar rhatdan commented on May 30, 2024

First have you tried as root?
What does
$ podman cat /proc/self/uid_map

Show

from fuse-overlayfs.

oblitum avatar oblitum commented on May 30, 2024

On host:

❯ cat /etc/subgid /etc/subuid /proc/self/uid_map
francisco:100000:65536
francisco:100000:65536
         0          0 4294967295

from fuse-overlayfs.

oblitum avatar oblitum commented on May 30, 2024

Also, I didn't try it as root, as it was working rootless before. My intent is to use it rootless. I finished build the same image with Docker, but hence, I had to run it with sudo.

from fuse-overlayfs.

rhatdan avatar rhatdan commented on May 30, 2024

I need podman unshare cat proc/self/uid_map

from fuse-overlayfs.

rhatdan avatar rhatdan commented on May 30, 2024

Just checking for root, to see if there are just issues on rootless.

from fuse-overlayfs.

oblitum avatar oblitum commented on May 30, 2024
❯ podman cat /proc/self/uid_map
Error: unrecognized command `podman cat`
Try 'podman --help' for more information.

❯ podman unshare cat proc/self/uid_map
cat: proc/self/uid_map: No such file or directory
Error: exit status 1

from fuse-overlayfs.

rhatdan avatar rhatdan commented on May 30, 2024

podman unshare cat /proc/self/uid_map

from fuse-overlayfs.

oblitum avatar oblitum commented on May 30, 2024
❯ podman unshare cat /proc/self/uid_map
         0       1000          1
         1     100000      65536

from fuse-overlayfs.

oblitum avatar oblitum commented on May 30, 2024

I'll leave the build command running as root, but I'll have the result only tomorrow, as this build takes a lot of time.

from fuse-overlayfs.

rhatdan avatar rhatdan commented on May 30, 2024

Ok, User Namespace looks good.
@giuseppe PTAL

from fuse-overlayfs.

oblitum avatar oblitum commented on May 30, 2024

Build successful as root, just like with docker. So it looks like I'm hitting issues when running rootless now, which I didn't hit earlier.

from fuse-overlayfs.

oblitum avatar oblitum commented on May 30, 2024

Well, when running in root I think there were some different configurations, for example, there's no uid/gip mapping, and also, the final image got double the size than I expected, I think it's because root isn't using layered filesystem, I've only configured that to my user.

from fuse-overlayfs.

giuseppe avatar giuseppe commented on May 30, 2024

could you try #123 ?

from fuse-overlayfs.

oblitum avatar oblitum commented on May 30, 2024

@giuseppe I just tried. I believe it's fixed. Sorry but I didn't rebuild the image from scratch as it's quite annoying. But, I didn't face containers/buildah#1868 after applying #123. Meaning, after an image upgrade, and installing some new tools, and squashing the image with buildah, I didn't end up with missing files. all was there. I think that issue relates to this one? It looks like for me, so I think this one is also fixed.

from fuse-overlayfs.

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.