You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use Blockade in my stack of tests and have some doubts. I have two containers one is server and other one is the client. I'm running my tests in client and in some cases need to change network parameters of server or client container. In documentation tells about Blockade API but i don't know how to use the API inside client container.
See below my setup configuration of blockade.yaml file
The API is bound to the host, not one of the containers. So if you want to access it from a container, you'll need to know an IP address or hostname for the host. This is more complicated than it should be and I think it can even vary depending on whether you are using Docker for Mac/Windows versus from Linux directly. Here is is a blog post and sample code you could use to do this: https://dev.to/bufferings/access-host-from-a-docker-container-4099 https://github.com/bufferings/docker-access-host
Once you figure out the hostname, you should be able to directly connect to the Blockade API port on that hostname (default: 5000). I hope this helps!
Hi guys, first of all thanks for the great tool.
I'm trying to use Blockade in my stack of tests and have some doubts. I have two containers one is server and other one is the client. I'm running my tests in client and in some cases need to change network parameters of server or client container. In documentation tells about Blockade API but i don't know how to use the API inside client container.
See below my setup configuration of blockade.yaml file
The text was updated successfully, but these errors were encountered: