https://bugzilla.redhat.com/show_bug.cgi?id=1093000
Lukas Slebodnik lslebodn@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |NEW Resolution|NOTABUG |--- Keywords| |Reopened
--- Comment #2 from Lukas Slebodnik lslebodn@redhat.com --- I don't have problem with creating large images. The docker image has already been created. I have problem with exporting docker image to tarball.
It is not problem that my machine is running out of space. I have a lot of free space on my disk and I didn't want to store anything on /tmp
[root@vm-169 ~]# df -h /root/ Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_root-lv_root 9.5G 4.4G 4.6G 50% / [root@vm-169 ~]# docker save big_image > /root/big_image.tar 2014/04/30 14:33:02 Error: write /tmp/docker-export-638760671/934d868afd0a79629df2cad704cbc1ed9344654625569263a630933d2785de57/layer.tar: no space left on device
According to docker help, the image should be streamed to standard output. I would expect it works without any side effect. And if docker cannot limit size of temporary files it will be better to use /var/tmp.
/tmp is by default mounted as tmpfs. It was introduced in fedora 18 https://fedoraproject.org/wiki/Features/tmp-on-tmpfs Yes, it can be overridden by administrator, so there is a workaround. But in my opinion, it should work with default settings. And changing temporary directory from /tmp to /var/tmp should be easy.