You need the links directive on the container that will access the other one.
For example
services: web: (...) links: ipfs
Also, you might wanna try 127.0.0.1 instead of 0.0.0.0.
Links have been deprecated for quite some time and networks are the recommended approach:
docs.docker.com/compose/compose-fi...
Good to know. I've never used it until I had to use docker on Windows, for some reason, it's the only way that the network would work.
yeah, I'm aware a lot of people experience problems with docker on windows, I've never really got into any problems other than slowness compared to linux. it's actually quite stable for me.
Linux definitely is the best option
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You need the links directive on the container that will access the other one.
For example
Also, you might wanna try 127.0.0.1 instead of 0.0.0.0.
Links have been deprecated for quite some time and networks are the recommended approach:
docs.docker.com/compose/compose-fi...
Good to know. I've never used it until I had to use docker on Windows, for some reason, it's the only way that the network would work.
yeah, I'm aware a lot of people experience problems with docker on windows, I've never really got into any problems other than slowness compared to linux. it's actually quite stable for me.
Linux definitely is the best option