(feat): Isolation Mode for host, docker and VMs#1732
Conversation
|
This looks really "dirty" and I am not quite sure what this would do: I am telling the isoltation to be host but am still using docker? I get the simplicity on how this solves the host problem with a little script that just redirects If this is something we just want to use internally I think this is ok. But if we want people to use it I would make it "cleaner" and easier to use. Now this is very confusing. |
You are referencing the test here, right? Idea is just atm that you can use host mode but STILL start processes on the system as docker containers. I understand this can be confusing and see three ways to handle it:
Happy to remove host mode with my idea from this one. I imagine you have a host mode implementation already in your head? |
|
I would not mix host mode and "container" mode. If there is Or if you want to keep both I would add the type to the flow step: and don't have the |
This is a first draft of the new isolation mode for the GMT.
GMT will then directly support switching isolations modes depending on the configuration of WHAT to measure.
The flag will be in the usage scenario.
Current planned isolation modes:
The host mode is only minimally implemented and uses a shim where all 'exec' commands are run on the host and everything else is forwarded to docker.
This design decision stems from the idea that even in host mode one COULD want to start services on the system.
This is to be discussed as one quirk results from this: Started services cannot be interacted with anymore other than calling 'docker exec ' as a command ... which feels a bit weird ...
@ribalba Interested for your opinion on the host mode draft. This PR however is mostly for the isolation functionality that I need so happy to rip host mode out again like this