Docker Community Forums

Share and learn in the Docker community.

Docker image size limitation


(Autogun) #1

Hi,

I have this docker container, which I copied 30GB of data to it.
Trying to do docker commit <id> newimage results with below error in logs:

time="2018-08-19T12:01:29.435623596Z" level=error msg="Can't add file /var/lib/docker/overlay2/92ee42dc227839b7d24d1f480903713d56095e57a7c54f7aef89096473a16e42/diff/home/cef/chromium/src/.git/objects/pack/pack-7818661fe2ef9b7a0f9526e2ea51b0ccb5fd8683.pack to tar: io: read/write on closed pipe"
time="2018-08-19T12:01:29.435694856Z" level=error msg="Can't close tar writer: io: read/write on closed pipe"
time="2018-08-19T12:01:29.445012896Z" level=error msg="Handler for POST /v1.38/commit returned error: Error processing tar file(exit status 1): unexpected EOF"

This file is 13G size.

Did I hit some sort of limit here?

docker info below -

Containers: 1
 Running: 0
 Paused: 0
 Stopped: 1
Images: 5
Server Version: 18.06.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: d64c661f1d51c48782c9cec8fda7604785f93587
runc version: 69663f0bd4b60df09991c08812a60108003fa340
init version: fec3683
Security Options:
 apparmor
Kernel Version: 4.4.0-1017-aws
Operating System: Ubuntu 14.04.4 LTS
OSType: linux
Architecture: x86_64
CPUs: 36
Total Memory: 58.97GiB
Name: ip-172-30-6-187
ID: 6CDK:WMPV:IUH6:SLQS:MGRI:MD3E:56JN:JI2A:LQ6I:QCXM:6J3M:XTR7
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