Comments (4)
Not to my knowledge... I don't know if that group thing is required. I don't know much about this sort of thing... why isn't there a root group?
from local-persist.
If I try to use the plugin in CoreOS I get the same error. There is a root group, but I think because docker or the socket is not owned by root:root but root:docker this error appears.
from local-persist.
I'm not sure I do anything explicitly to set the group to root
, or otherwise require the group to be root. I feel like if anything, it should use the user and group of the owner of the local-persist
process, which means it shouldn't try to set the group to root
if it doesn't exist.
Are you seeing this error just running the binary directly? If so... I've got nothing. I just us Go's os.MkdirAll
, which I'd assume uses the process's user/group by default. I'm not primarily a Go programmer, tho, so I may be wrong.
If you're running it through systemctl
, you can add User=
and Group=
in your systemd.service
for local-persist
(located at /etc/systemd/system/docker-volume-local-persist.service
by default) to something appropriate and see if that helps.
from local-persist.
I ran into this same issue trying to install on Clear Linux... no luck with updating the unit file, nor even changing group ownership of the socket itself. However, what seems to be the case is that whatever API is used is fed by the /etc/group
file - for my distro, this file is optional and only has groups I've created. However, adding root:x:0:
explicitly there was sufficient to start and use this plugin. Thanks!
from local-persist.
Related Issues (20)
- no permission HOT 1
- Works with symlinks?
- source path is not contained in array "mounts" when querying a container HOT 1
- Install script fails at line 7 'dirname' HOT 10
- Did git clone, THEN trying to run install.sh script...
- Missing release for arm64
- Docker Toolbox - Error Install local-persist in
- Cannot create container for service xxx permission denied HOT 6
- Not working on windows 10 WSL 2
- Relative mountpoint in compose file HOT 5
- WSL Plugin not found / registered HOT 1
- WSL - checking understanding of container installation instructions
- docker-compose v3 example HOT 2
- arm64 support HOT 1
- Error: no such file or directory: unknown HOT 1
- support for Apple Silicon HOT 1
- Request: aarch64 support HOT 6
- Logs: Get Called...Couldn't find xxxx
- install.sh stops execution with code 1 after recent commit HOT 2
- issue on installing HOT 4
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 local-persist.