Docker Community Forums

Share and learn in the Docker community.

Docker import fails with "no space left on device"

(Jaystan) #1

I am trying to run the following to command to create an image, but it fails with the following error.

Any ideas what I need to configure to get this to work?

# cat | docker import - tpd-dev-kit:
FATA[0176] Error response from daemon: ApplyLayer exit status 1 stdout: stderr: write /isos/OS/OracleLinux/6.6/x86_64/1/Packages/java-1.8.0-openjdk-headless- no space left on device

# ll
-rwxr-xr-x. 1 root root 13968957440 Jul 6 10:27

# docker info
Containers: 0
Images: 0
Storage Driver: devicemapper
Pool Name: docker-0:30-31457283-pool
Pool Blocksize: 65.54 kB
Backing Filesystem: nfs
Data file: /dev/loop0
Metadata file: /dev/loop1
Data Space Used: 305.7 MB
Data Space Total: 107.4 GB
Data Space Available: 107.1 GB
Metadata Space Used: 733.2 kB
Metadata Space Total: 2.147 GB
Metadata Space Available: 2.147 GB
Udev Sync Supported: true
Data loop file: /data/FileServer/docker/devicemapper/devicemapper/data
Metadata loop file: /data/FileServer/docker/devicemapper/devicemapper/metadata
Library Version: 1.02.89-RHEL6 (2014-09-01)
Execution Driver: native-0.2
Kernel Version: 3.8.13-55.1.5.el6uek.x86_64
Operating System:
CPUs: 48
Total Memory: 251.9 GiB
Name: usmar-bldvmsvr02
Http Proxy:

# docker version
Client version: 1.6.1
Client API version: 1.18
Go version (client): go1.3.3
Git commit (client): a8a31ef/1.6.1
OS/Arch (client): linux/amd64
Server version: 1.6.1
Server API version: 1.18
Go version (server): go1.3.3
Git commit (server): a8a31ef/1.6.1
OS/Arch (server): linux/amd64

# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
281634636 118305844 148999552 45% /
tmpfs 132048544 296 132048248 1% /dev/shm
/dev/sda1 487652 167498 290458 37% /boot
991512 2192 921736 1% /home
1152567296 269157376 824855552 25% /data/TKLCRepository
576218112 102438912 444502016 19% /data/FileServer

# cat /etc/sysconfig/docker
other_args="-g /data/FileServer/docker --storage-opt=dm.basesize=100G"

export HTTP_PROXY=“http://www-proxy.server:80

export DOCKER_TMPDIR="/var/tmp"

(Sam Saffron) #2

devicemapper issue? try this with latest docker perhaps, devivemapper has been in flux, if you can repro this cleanly be sure to open an issue on github.