-
Notifications
You must be signed in to change notification settings - Fork 40
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
The image won't build #1
Comments
Looks like debian 7.4 does not allow fuse devices creation like the newer ubuntu system expects. http://jtrancas.wordpress.com/2011/02/09/fuse-filesystems-lxc-container/ this may slightly help. What is your docker version? can you update to the latest if you can. |
Thank you :)
I was thinking of uninstalling Debian and going for the Latest Lubuntu instead. Now might be the time ;-) One more question (unrelated to this particular issue) : how do you deal with data persistence for Firefox? (see my docker-desktop issue here) |
How do i deal with data persistence for Firefox? ( I DONT lol ) now to answer your issue: I think with the -v ( volume from host ) you are doing it correctly to mount the firefox-data to the host. Note -v volumes can be mounted read-writable, and by default they must be rw. from the Docker docs : http://docs.docker.io/reference/commandline/cli/ You can try : -v /home/mascip/docker-desktop/firefox-data/$container_name:/home/docker/.mozilla/firefox/:rw Also note you can setup a DATA only container to hold this data as well.. |
:rw doesn't work with -v, but only with --volumes-from. I've seen that I could try a data-only container, but they say it dies when no container uses it, so I would regularly lost my data. Well, maybe I should try to check if that's true. Or I could ask on the mailing list. Another solution would be to manually backup my data, like they explain in the last section of your last link:
It's annoying because I don't want to have to think about that, but it's better than nothing ;-) |
Data-only container does not die when no container uses it. Its not true. Data is lost ONLY if data only container is deleted and No other running You just have to use the Data container.. and I have an idea to KEEP the https://github.com/paimpozhil/WhatPanel/tree/master/data follow this! On Mon, Jun 2, 2014 at 7:35 PM, Pierre Masci [email protected]
Paim Pozhil |
Thank you for your help paimpozhil. I don't manage to make the data folder writable. :rw doesn't seem to work. I think I will re-install my computer with Lubuntu. Maybe I will get better luck. |
Weird... docker inspect says the volume is writeable, but firefox says it doesn't have the permission, and so does the ls command. I'm always a bit confused about these permission stuff... will investigate further. |
It works!! Amazing! In the end I only had to do
I also had to declare absolute paths for the volumes in the dockerfile, and use /home/docker/ instead of ~. I even restarted my computer, and the data is still there. It seems perfect so far :-) |
wow that is so great.. :) On Mon, Jun 2, 2014 at 11:10 PM, Pierre Masci [email protected]
Paim Pozhil |
Take a look at my centos image https://github.com/paimpozhil/DockerX2go/tree/master/centos |
Why this one in particular? It looks a lot like the others. -- Pierre Masci On 3 June 2014 22:35, Paim pozhil [email protected] wrote:
|
It seemed to me running better than ubuntus .. Near desktop experience
|
Nice cheers =) I hope to have the time to try it this week. I don't know if you saw my other issue in docker-desktop: -- Pierre Masci On 3 June 2014 23:00, Paim pozhil [email protected] wrote:
|
I answered there as well. X2go gives you support for different Compression ( good for wan /internet based desktops ) , Sound , file sharing ,etc out of the box. When you are sitting next to the machine.. you can simply VNC/SSH doesnt matter much |
Hi, I'm on debian 7.4 (amd64), here is what I get when I run
The text was updated successfully, but these errors were encountered: