Hacker News new | ask | show | jobs
by pnelson 2556 days ago
I launch my browser with profiles instead of using containers. I have three at the moment:

firefox --no-remote --profile "$XDG_CACHE_HOME/firefox/home" --class="browser-home"

firefox --no-remote --profile "$XDG_CACHE_HOME/firefox/work" --class="browser-work"

firefox --no-remote --profile "$(mktemp -d)"

1 comments

Profiles and containers solve two different problems. Multiple profiles will keep websites that you only log into from one profile from leaving cookies that can be seen by the other profile, but containers prevent one website from leaving cookies that can be seen by any other website even on the same profile, and prevent that website from seeing any cookies other than their own.
AFAIU containers can be and are shared by multiple domains, though domains pinned to exclusive containers won't be visible to one another.

Opening a domain in a container, then other linked sites from that page, generally remains within the same containdr.

According to this thread, they largely solve the same problem:

https://news.ycombinator.com/item?id=20258432