Error while extracting dockers: there is no space on the device

When trying to docker, I get this error message

Handler for POST / images / creating returned error: ApplyLayer exit status 1 stdout: stderr: write XXXX: there is no place on the device

I checked the disk space and Inodes, and I have enough of them. I still tried to free up additional space and inodes. Despite this, the error always ends up in the same file (which eliminates the potential space problem).

Pull Image - ~ 12 GB

IUsed IFree file system IEDs IU %% Installed on / dev / sda 4
3.0M 295K 2.7M 10% /

File system size Used Use% Installed on / dev / sda 4
47G 15G 30G 34% /

I tried to export the image from another computer and imported it to the computer, causing problems. However, I get the same error as “no space on device”

I tried deleting all the images, even completely removing / var / lib / docker, restarting the docker daemon with no luck.

Works on MacBook 12.11 with ubuntu 14.02 installed.

kernel: 3.18.0-031800-generi # 201412071935 SMP Mon Dec 8 00:36:34 UTC 2014 x86_64 x86_64 x86_64 GNU / Linux

docker version

Docker 1.7.1 build 786b29d

docker information

Containers: 2
Images: 85
Storage Driver: devicemapper
 Pool Name: docker-8:4-920131-pool
 Pool Blocksize: 65.54 kB
 Backing Filesystem: extfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 6.185 GB
 Data Space Total: 107.4 GB
 Data Space Available: 33.83 GB
 Metadata Space Used: 8.061 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.139 GB
 Udev Sync Supported: false
 Deferred Removal Enabled: false
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.82-git (2013-10-04)
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.18.0-031800-generic
Operating System: Ubuntu 14.04.2 LTS
CPUs: 8
Total Memory: 15.58 GiB
Name: geb
ID: TTQN:73Y5:IU35:CK53:UELX:HPRQ:BKMM:ZNNM:O56G:6WL3:RZXE:NV4H
WARNING: No swap limit support
+4
source share
1 answer

devicemappercaused me countless problems in different cores and operating systems. The problems are here .

- BTRFS / , ( DeviceMapper, AUFS Ubuntu 12.04), .

- overlay, 3.18 ( ):

Storage Driver: overlay
 Backing Filesystem: extfs

/etc/default/docker ):

DOCKER_OPTS="-s overlay"

(, DOCKER_OPTS - BASH, )

edit: , , , devicemapper , , .

+4

Source: https://habr.com/ru/post/1613697/


All Articles