Set network parameter
Closed this issue · 4 comments
Hi Tobias,
to make BCinaB work for my use cases it would be great if I could specify the network that is used (via the AdditionalParameters (DevDomain=X --network mynetwork)).
It would be even greater if I (as admin) could set a default value and the users would get that network without doing anything.
Network selection is on my list. I was thinking about presenting the user with "advanced options" where he gets a dropdown of available networks and choses the one he wants.
For the admin idea: I currently don't have any authentication and at the moment don't plan to implement it (maybe long term, but not in the next iterations), so differentiating between "admin" and "non-admin" currently is not possible in the GUI. I however have the bare bones of a configuration system and will probably implement a json-based config system where you could do something like
{
...
"defaultNetwork": "MyTransparentNetwork",
....
}
That would then determine which network in the dropdown mentioned above would be preselected. Would that make sense for you? Not a foolproof, enduser-friendly way to do it but at least an option to do what you want.
As you are talking about "my use cases": Where would you want to use BCinaB? I see mainly two scenarios:
- A developer/consultant needs containers on a local machine or his own VM somewhere and uses BCinaB to easily handle them
- An administrators provides access to containers for developers/consultants and gives them a "self-service" frontend to do that
Do you imagine something else? Currently BCinaB is mainly geared toward 1 but I try to keep 2 in mind and have an easy extension path open for that. It actually is the main reason why I've split it into two containers, so that you could have 1 gui container connected to N api containers running on multiple hosts where the BC containers would run. But again, let me know where you would want to use it
Hi Tobias,
i like your ideas regarding advanced options and the JSON based preselections. That would fulfill my needs perfectly.
The use case I have in mind is no. 2 from your list. I envision to use BCinaB to provide my colleagues (having no deeper knowledge regarding Docker and Powershell) with an easy to use interface to setup an environment quickly and easily.
fixes with alpha7