--
You received this message because you are subscribed to the Google Groups "docker-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to docker-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
YigongI am totally puzzlled. I'll try my ubuntu installation in another partition tomorrow in case something wrong with my current partition.I tried to take a snapshot of the screen but failed since no space is available. So i used my camera take a picture. Please see it attached.After a second thought, it occured to me that maybe other system facilities behave abnormally when no space available, which could cause docker's response change? I have a ubuntu13.04 partition with a few GB left. So i copied several tgz files and easily run out of space. Strange things happened: "df ." shows 0 space left. I cannot create file and the error says that no space available. However docker daemon keeps running, i can run docker command commit image with NO errors i saw as in RAM disk case, then i can "docker run" this new images to create a container to do more things. It seems that docker is not influenced, Magic! It is the latest code i checked out from github last night.Hello,Thanks for your information, i mounted the 10M ramdisk and pull a busybox image; run a container and did some update and try to commit it. It did come up with all the error messages we expect from comandline. Yes docker works fine!
Just a thought, should we add some space checking before commiting to avoid all these situations?Thanks
On Thu, Oct 17, 2013 at 4:45 PM, Jérôme Petazzoni <jerome.p...@dotcloud.com> wrote:Sure!The idea would be:- stop docker- mount -t tmpfs -o size=10M none /var/lib/docker- start dockerThis will mount a 10M ramdisk (initially empty) over /var/lib/docker. Docker should initialize it automatically when it starts.Later, when you're done and want to recover the old content of /var/lib/docker, just stop docker and "umount /var/lib/docker".Let me know if you need more details!On Thu, Oct 17, 2013 at 2:48 PM, yigong liu <yigongli...@gmail.com> wrote:
YigongYes, mounting a fixed/small size tmpfs is a good idea. Please advise me how to do it.Thanks