Git Product home page Git Product logo

Comments (6)

shytikov avatar shytikov commented on May 29, 2024

Hej @davidsierradz!

I have simplified the build step and this issue should not happen again, please check v1.6.2

Please comment if that didn't help.

from pragmasevka.

davidsierradz avatar davidsierradz commented on May 29, 2024

Hi, thanks for checking this out! Unfortunately the files keep being created as root (on the host) so the rm commands don't work.

According to permissions - Docker mount volumes as root - Stack Overflow, because the Docker daemon is running as root on my machine, all filesystem interactions are done with root as well. Are you running a root-less docker setup (or podman)?

He recommends using named volumes instead of mount points, to abstract all filesystem behavior (permissions, OS-level differences, etc.)

I got the following working https://github.com/davidsierradz/pragmasevka/tree/named-volumes, with some additional commands because:

[feature] Allow mounting sub-directories of named volumes · Issue #32582 · moby/moby

How to copy files into a named volume without an attached container? · Issue #25245 · moby/moby

I think maybe this is too much complexity for not a lot of improvement. At the end, I can simple make a sudo make font and sudo chowm ... without much problem. It was fun learning more about Docker nonetheless

from pragmasevka.

shytikov avatar shytikov commented on May 29, 2024

@davidsierradz oh wow!

Would you mind if I copy that? Or maybe I may ask you to create a PR?

from pragmasevka.

davidsierradz avatar davidsierradz commented on May 29, 2024

Yeah! Feel free to copy/improve the code.

from pragmasevka.

shytikov avatar shytikov commented on May 29, 2024

@davidsierradz I have tried your approach and I hope it works now as it should!

from pragmasevka.

davidsierradz avatar davidsierradz commented on May 29, 2024

Thanks, it does!

from pragmasevka.

Related Issues (8)

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.