-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Unable to start Consul Docker container #3795
Comments
Check the permissions of ./_data/consul on the host machine. Likely, the user 'consul' in the container does not have permission to write to the directory mounted to /data in the container. |
@anshumanbh did you figure out what this issue is? I got the same error message:
|
Given we haven't heard anything based on @Cardds questions above I'm going to close this issue, but I encourage you to comment and we can re-open it if you want to pick this up again. Alternatively, if things have changed dramatically, feel free to create a new issue or PR. |
@Cardds @mlcooper @anshumanbh did you figure out what the issue is ? Is there a solution? |
@Cardds @SachinHg @mlcooper @anshumanbh Has anyone found out how to resolve that issue ?? |
Running into the same problem on a CentOS 7 host. $ mkdir /test |
To anyone having this problem you need to give 777 permissions recursively to the local directory you're binding to the container. Let's say the directory in your local machine is |
Hey there, This issue has been automatically locked because it is closed and there hasn't been any activity for at least 30 days. If you are still experiencing problems, or still have questions, feel free to open a new one 👍. |
My docker-compose file looks like this:
When I do a
docker-compose up -d
, the Vault container starts just fine. But, the Consul container fails with the below error:I am trying to run this on a Google Compute Engine instance with a Debian base image:
Docker version:
Docker Compose version:
Both Vault and Consul docker images have the
latest
tag.I also noticed some logs in my Vault container when it starts:
Does anybody know what's going on?
The text was updated successfully, but these errors were encountered: