On 7/23/24 06:58, Matthias Apitz wrote:
Hello,
I'm creating a podman container on RedHat 8.1 which should run our application server on SuSE SLES15 SP6. The build was fine, but a second build to add some more components stops with the following details:
$ podman -v podman version 4.9.4-rhel
$ podman build -t sles15-sp6 suse
suse/Dockerfile:
FROM registry.suse.com/bci/bci-base:15.6 LABEL maintainer="Matthias Apitz <guru@unixarea.de>" ...
# # sisis-pap # RUN cd /home/sisis/install ; tar xzf sisis-pap-V7.3-linux-pkg-tar.gz ; cd sisis-pap ; ./install
... Installation beendet. Hinweise zum weiteren Vorgehen entnehmen Sie bitte der Freigabemitteilung FGM-sisis-pap-V7.3.htm Installation erfolgreich beendet
(the 4 German lines are coming out at the end of the above script './install'; i.e. the software of the tar archive was unpacked and installed fine, but the error is while writing the container after this step to disk)
Error: committing container for step {Env:[PATH=/bin:/usr/bin:/usr/local/bin] Command:run Args:[cd /home/sisis/install ; tar xzf sisis-pap-V7.3-linux-pkg-tar.gz ; cd sisis-pap ; ./install] Flags:[] Attrs:map[] Message:RUN cd /home/sisis/install ; tar xzf sisis-pap-V7.3-linux-pkg-tar.gz ; cd sisis-pap ; ./install Heredocs:[] Original:RUN cd /home/sisis/install ; tar xzf sisis-pap-V7.3-linux-pkg-tar.gz ; cd sisis-pap ; ./install}: copying layers and metadata for container "a11a6ce841891057fb53dfa276d667a938764a6a63e9374b61385f0012532aa0": writing blob: adding layer with blob "sha256:a0b630090f1fb5cae0e1ec48e5498021be8e609563859d8cebaf0ba75b89e21d": processing tar file(write /home/sisis/install/sisis-pap/usr/local/sisis-pap/pgsql-14.1/share/locale/fr/LC_MESSAGES/pg_test_fsync-14.mo: no space left on device): exit status 1
$ podman images REPOSITORY TAG IMAGE ID CREATED SIZE <none> <none> 4ea3a0a7bd94 27 minutes ago 2.85 GB localhost/sles15-sp6 latest 0874a5469069 About an hour ago 6.31 GB registry.suse.com/bci/bci-base 15.6 0babc7595746 12 days ago 130 MB
$ ls -l .local/share/containers lrwxrwxrwx 1 root root 24 Aug 18 2023 .local/share/containers -> /appdata/guru/containers
$ env | grep TMP TMPDIR=/home/apitzm/.local/share/containers/tmp
apitzm@srrp02dxr1:~$ df -kh /appdata/ Filesystem Size Used Avail Use% Mounted on /dev/mapper/vga-appdata 98G 83G 11G 89% /appdata
The container would need again 6.31 GB, maybe a bit more, but not 11G.
Why it is complaining?
matthias
Are you using vfs versus overlay?