Comments (6)
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.
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.
@davidsierradz oh wow!
Would you mind if I copy that? Or maybe I may ask you to create a PR?
from pragmasevka.
Yeah! Feel free to copy/improve the code.
from pragmasevka.
@davidsierradz I have tried your approach and I hope it works now as it should!
from pragmasevka.
Thanks, it does!
from pragmasevka.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pragmasevka.