worstcase / blockade

Docker-based utility for testing network failures and partitions in distributed applications
http://blockade.readthedocs.org
Apache License 2.0
907 stars 72 forks source link

A few questions... #83

Open jrony149 opened 4 years ago

jrony149 commented 4 years ago

I would like to preface by stating that I'm new to Docker and certainly to Blockade, so I apologize in advance if I come off as a noob (it's because I am).

I am attempting to build a distributed database for a school project and would like to use this software to test how my code performs when network partitions are brought into play.

So my first question is:

1). Is there any way for me to specify my own ip addresses for the containers, or must I always rely on the ip addresses assigned to my containers by Blockade?

2). Is there any way for me to add more than one environment variable using the 'environment' field in the Blockade.yaml file? It seems that my Docker container application is only able to find a single environment variable. If I even try to add a second environment variable to the dictionary structure, my Docker container application will find neither of them.

3). It states in the docs that the 'environment' field is 'optional', but I can't seem to get Blockade to work without it. I keep getting an error message stating that Blockade is "unable to find the network interface".

Thank you very much for taking the time to answer these questions. You don't know how much I appreciate it.