jessfraz / dockerfiles

Various Dockerfiles I use on the desktop and on servers.
https://blog.jessfraz.com/post/docker-containers-on-the-desktop/
MIT License
13.65k stars 2.55k forks source link

Update firefox image #527

Open ngaro opened 4 years ago

ngaro commented 4 years ago

Warning: Users that use firefox both in a container and in the usual way may lose there firefox profile because of -v $HOME/.mozilla:/home/user/.mozilla when the firefox versions are not equal. So this gives us three options:

  1. I could leave it like this and call it 'wanted behavior' (perfect for users that only use firefox in a container)
  2. I could remove it which will cause the user to lose the container profile every time he restarts it. (perfect for users that only rarely use firefox in a container)
  3. I could change $HOME/.mozilla to another dir, no profile will be lost but it will only work if the user has this dir. (perfect if the user can somehow be forced to make sure that new dir exists)

Opinions please... (My favorite is the 1st one)