Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Docker build fails as vagrant user because /var/lib/docker is owned by root, has permissions set 700 #6822
Further evaluation reveals that Vagrant is attempting to run
I'm confused about how things got in this state, but happy to help, I can reproduce this incredibly reliably.
The full contents of
Let me know if this issue is more appropriate on the Docker project.
I met the same problem.
Error message after
Indeed access and rights are root:
I had same issue, so added vagrant to sudoers group
But that still not helped, I guess the permission on /var/lib/docker needs some correction
Permission when i got the error
I provided simply 777 for now, after which permission looked like this
And did a
After that my container got created
I am not sure what is the correct permission for the
Please check and correct what is needed and help me fix this properly