-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data dir permissions issue in Minikube #4
Comments
@naiduarvind It looks like Consul is still trying to use |
@pbitty 's solution works, but it doesn't change |
I was having the same issue with the v0.9.0 Consul container. I updated the paths used in my pull request to update to v0.9.0, #15, which resolved the issue. |
Hello,
I'm following this tutorial on a local minikube cluster and Consul fails with this error:
I was able to get around it by using
/consul/data
as the mountPath. The Consul image entrypoint sets the right permissions for this path when launching Consul.I'm not sure if this error is specific to Minikube, but I imagine volume mounts in general would be owned by
root
and would have the same issue. I guess the issue here is that Consul runs as a non-root user, which is unconventional for Docker images.The text was updated successfully, but these errors were encountered: