containerise icon indicating copy to clipboard operation
containerise copied to clipboard

Add option to match including current container name

Open AlexVallat opened this issue 2 years ago • 3 comments

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 , Work and 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 Container will allow only google.com urls in the google container

AlexVallat avatar May 27 '23 08:05 AlexVallat

good to see another attempt to address these core issues. (the earlier attempt didn't make it)

  • https://github.com/kintesh/containerise/pull/166

go2null avatar Jun 22 '23 03:06 go2null

@kintesh Would you please take a look at this? This function will be very useful.

neilyhy avatar Jan 13 '24 01:01 neilyhy

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.

kaushikgopal avatar Oct 01 '25 01:10 kaushikgopal