I use profiles not containers, and have links opening using the correct profile by wrapping stuff with the `BROWSER` environment variable. For example my Signal.desktop launcher contains this line
Exec=env BROWSER='firefox -P personal' signal-desktop -- %u
For other apps I use `firefox -P work`, e.g. a shell alias for AWS SSO.