Add option to match including current container name
Adds a new option, "Match current container name". If enabled, the current container name is added as a prefix to match against, in angle brackets. This allows rules to control whether they apply based on the current container as well as the destination url.
Addresses:
- #154, #53: Change the rule to have
<>prefix and it will only apply if not already in a container - #24: Have a rule like
@<(?!personal).*>mail\.google\.com , Workand it will switch to the Work container for mail.google.com unless the current container is already Personal. - #142, Have a rule like
@<google>(?!.+\.google\.com).* , No Containerwill allow only google.com urls in the google container
good to see another attempt to address these core issues. (the earlier attempt didn't make it)
- https://github.com/kintesh/containerise/pull/166
@kintesh Would you please take a look at this? This function will be very useful.
allows rules to control whether they apply based on the current container as well as the destination url.
fwiw i created Container Traffic Control to help support this feature.