Error processing tar file(exit status 1): write /tmp/db.amd64.deb: no space left on device

I keep getting “: no space left on device” errors when I try to build a image. I have rpm with a total size of 900 MB that i;m trying to install in a container. I don’t see any space issues though. Appreciate if someone could help here.

docker version
Client:
Version: 17.12.0-ce
API version: 1.35
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:11:19 2017
OS/Arch: linux/amd64

Server:
Engine:
Version: 17.12.0-ce
API version: 1.35 (minimum version 1.12)
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:09:54 2017
OS/Arch: linux/amd64
Experimental: false

docker info
Containers: 1
Running: 0
Paused: 0
Stopped: 1
Images: 7
Server Version: 17.12.0-ce
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 89623f28b87a6004d4b785663257362d1658a729
runc version: b2567b37d7b75eb4cf325b77297b140ea686ce8f
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 4.9.0-4-amd64
Operating System: Debian GNU/Linux 9 (stretch)
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 996.6MiB
Name: debian-92
ID: QLNT:BEBE:OP6M:SPCY:KQOE:6XHF:K3GW:SXMR:2GUA:BUQW:4KC7:2QSN
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false

WARNING: No swap limit support
root@debian-92:~

root@debian-92:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 487M 0 487M 0% /dev
tmpfs 100M 4.5M 96M 5% /run
/dev/mapper/debian–92–vg-root 5.7G 3.4G 2.1G 63% /
tmpfs 499M 0 499M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 499M 0 499M 0% /sys/fs/cgroup
/dev/sda1 236M 37M 187M 17% /boot
data 238G 199G 40G 84% /data
vagrant 238G 199G 40G 84% /vagrant
tmpfs 100M 0 100M 0% /run/user/1000
root@debian-92:~# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
udev 124642 324 124318 1% /dev
tmpfs 127559 688 126871 1% /run
/dev/mapper/debian–92–vg-root 377504 52955 324549 15% /
tmpfs 127559 1 127558 1% /dev/shm
tmpfs 127559 3 127556 1% /run/lock
tmpfs 127559 15 127544 1% /sys/fs/cgroup
/dev/sda1 62248 337 61911 1% /boot
data 1000 0 1000 0% /data
vagrant 1000 0 1000 0% /vagrant
tmpfs 127559 10 127549 1% /run/user/1000