Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Persistent Firefox data #20

Open
mascip opened this issue Jun 2, 2014 · 1 comment
Open

Persistent Firefox data #20

mascip opened this issue Jun 2, 2014 · 1 comment

Comments

@mascip
Copy link

mascip commented Jun 2, 2014

Like I said in my other issue, I use Firefox from docker-desktop, like this:

ssh [email protected] -p 49153 firefox

My problem is the lack of persistence. When I kill the container and restart a new one with the same name, my Firefox profile, bookmakers, etc, are gone.

I've tried to add this argument to 'docker run' :

-v /home/mascip/docker-desktop/firefox-data/$container_name:/home/docker/.mozilla/firefox/

so that Firefox's data would get saved on the host in /home/mascip/docker-desktop/firefox-data/$container_name. But it does work, because volumes mounted with -v are read-only.

Is there a way to achieve what I want? Am I missing something?

@mascip
Copy link
Author

mascip commented Jun 2, 2014

We solved it here: paimpozhil/DockerX2go#1

The solution was to create a data-only docker container for the data, with a /home/docker/.mozilla/firefox volume, which contains my Firefox profile. I also had to solve a tiny permission issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant