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
Docker : Unable to start ipfs-cluster by using docker #216
Comments
Fix #216: Docker does not like an env variable in CMD (anymore?)
Hey @raucoule1u sorry for that, there should be a new |
Also, worth mentioning #200 |
It works now but there is still an issue with the IPFS HTTP API on port 5001 :
|
I am also facing the same issue with the IPFS HTTP API on port 5001 while running the
|
@chirag0966 are you running ipfs ? |
@raucoule1u you mentioned you are running via docker machine? I'm not sure that changes anything. If |
Yes @hsanjuan, ipfs was initialized before. And the above error logs are for |
|
@chirag0966 I understand you are not using docker right? In that case, ipfs does not seem to be running. It needs to be running before you launch cluster-service. |
@hsanjuan Thanks a lot!!! :) If it is possible can you update the readme as well? |
@chirag0966 will do |
Logs :
I'm running a ipfs-cluster docker container. |
if i run an ipfs daemon on my host machine (127.0.0.1) I have the same issue. As the docker image ipfs/ipfs-cluster is based on ipfs/go-ipfs, I think that the ipfs daemon is already running, so if at startup you try to run the ipfs daemon (again) the issue come from the startup of ipfs-cluster because the ipfs daemon is already running (thanks to the "inheritance" of the image). |
@raucoule1u it just seems the ipfs daemon is very slow to start. The daemon is given 3 seconds to start before cluster-service. The last line of your log |
Ok good, I have no problem to call the HTTP API after the Daemon is ready. |
@raucoule1u great. I have just merged #131. You may want to pull the latest docker build. It probably fixes some issues with cluster in general. |
I'm having the same issues and struggling to get the ipfs-cluster on docker running. I'm running these commands:
And I continue to get this error over and over: I'd tried setting What is the simplest set of steps/config that I can do to get this up and running in Docker? |
@owenauch try Also, please check https://cluster.ipfs.io/documentation/configuration/. |
I got the same error. So, I ran a |
You can pass environmental variables to your docker command to overwrite configuration values https://cluster.ipfs.io/documentation/reference/configuration/#using-environment-variables-to-overwrite-configuration-values Docker setup is explained here: https://cluster.ipfs.io/documentation/deployment/automations/#docker . Any improvements are always welcome! -> https://github.com/ipfs/ipfs-cluster-website |
When i'm trying to run a docker container something goes wrong but I am not able to understand what it is.
Run the container :
docker run ipfs/ipfs-cluster
Logs :
The container cannot start.
The text was updated successfully, but these errors were encountered: