Bug ID 1142271
Summary podman build hitting size limit (8 GiB?) while committing image
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.1
Hardware x86-64
OS SUSE Other
Status NEW
Severity Normal
Priority P5 - None
Component Containers
Assignee containers-bugowner@suse.de
Reporter afaerber@suse.com
QA Contact qa-bugs@suse.de
CC kkaempf@suse.com
Found By ---
Blocker ---

I'm trying to build a container from a huge application tarball (ca. 21 GiB).
Getting the file into the image via COPY or wget appears to succeed but
afterwards committing the image to the cache appears to fail.

---

STEP 2: COPY ../Xilinx_Vivado_SDK_2019.1_0524_1430.tar.gz /tmp/
ERRO[2264] Error while applying layer: ApplyLayer exit status 1 stdout: 
stderr: unexpected EOF 
error committing container for step {Env:[
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] Command:copy
Args:[../Xilinx_Vivado_SDK_2019.1_0524_1430.tar.gz /tmp/] Flags:[] Attrs:map[]
Message:COPY ../Xilinx_Vivado_SDK_2019.1_0524_1430.tar.gz /tmp/ Original:COPY
../Xilinx_Vivado_SDK_2019.1_0524_1430.tar.gz /tmp/}: error copying layers and
metadata for container
"5c7d9d143480117a49bda23168f74a5ffb2a680e3ed579e112cbf8709aa6bc68": Error
committing the finished image: error adding layer with blob
"sha256:7c0e4af39cb14e4d1c3b86d4fcf68cd8831139a4507adf77cf58e080f2f2a39a":
ApplyLayer exit status 1 stdout:  stderr: unexpected EOF

---

STEP 6: RUN wget localhost:8000/Xilinx_Vivado_SDK_2019.1_0524_1430.tar.gz
--2019-07-21 14:36:28-- 
http://localhost:8000/Xilinx_Vivado_SDK_2019.1_0524_1430.tar.gz
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:8000... failed: Connection refused.
Connecting to localhost (localhost)|127.0.0.1|:8000... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22964656463 (21G) [application/x-gzip]
Saving to: 'Xilinx_Vivado_SDK_2019.1_0524_1430.tar.gz'

Xilinx_Vivado_SDK_2 100%[===================>]  21.39G  41.1MB/s    in 10m 44s 

2019-07-21 14:47:12 (34.0 MB/s) - 'Xilinx_Vivado_SDK_2019.1_0524_1430.tar.gz'
saved [22964656463/22964656463]

ERRO[2412] Error while applying layer: ApplyLayer exit status 1 stdout: 
stderr: unexpected EOF 
error committing container for step
{Env:[PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin]
Command:run Args:[wget
localhost:8000/Xilinx_Vivado_SDK_2019.1_0524_1430.tar.gz] Flags:[] Attrs:map[]
Message:RUN wget localhost:8000/Xilinx_Vivado_SDK_2019.1_0524_1430.tar.gz
Original:RUN wget localhost:8000/Xilinx_Vivado_SDK_2019.1_0524_1430.tar.gz}:
error copying layers and metadata for container
"f9a5f43094bcb83995da99282a9e9564dd605d1dc3faeb3f9142b4d9a3c74ca3": Error
committing the finished image: error adding layer with blob
"sha256:ba38c72c891ef830209735470bbbbe4b643769d490caa07634785819c218ff97":
ApplyLayer exit status 1 stdout:  stderr: unexpected EOF

---
Similar reports on the Internet point to an 8 GiB size limitation in Docker's
internal handling of tar streams due to an issue with tar-split that supposedly
got fixed with later versions:
https://github.com/moby/moby/issues/37581#issuecomment-418927257


You are receiving this mail because: