Raspberry Pi 4 - Docker Container Host - Download / Extraction problem with larger images

I have OpenWrt (OpenWrt 21.02.3, r16554-1d4dea6d4f) installed on my Raspberry Pi 4 (4 GB). I have installed a Docker container host on it. To store the Docker data, I mounted an external SSD. Up to this point, things are still looking good.

Now I have the problem that larger images are not downloaded and extracted.

Can I find a log somewhere to find out why the download and extraction hangs?

Thank you
Anthony

Here you can see my Docker configuration.

I do not understand what he is doing.But it does not seem that he is doing anything.

It was successful but it took hours. Can anybody explain why it is that slow.
image

if you are using the docker web interface there is a time out after x seconds. Its why i do my docker pulls from the SSH interface where it will not time out.

(edit)
This pulls new images for all images in your docker repository.
pullall.sh

docker images | grep -v REPOSITORY | awk 'BEGIN{OFS=":"} {print $1,$2}' | xargs docker pull

Do you also use an Raspberry Pi?

Can you please pull the buanet\IoBroker image and tell me how long it takes?

Its a big image. 1.2gb. If you have slow internet then it would take some time.

root@OpenWrt:~# docker image list
REPOSITORY                         TAG       IMAGE ID       CREATED       SIZE
buanet/iobroker                    latest    3efdbb5eacaa   4 weeks ago   1.19GB

on my r4s extracting to sdcard

root@OpenWrt:~# time docker pull buanet/iobroker
Using default tag: latest
latest: Pulling from buanet/iobroker
6d4a449ac69c: Pull complete
13473329dcd0: Pull complete
7e7fc7bca51c: Pull complete
0316d8dcfc2b: Pull complete
bf0a9e7334ee: Pull complete
e2e230357ea2: Pull complete
4f4fb700ef54: Pull complete
Digest: sha256:20a077b18de6c935f6b3ccb1db4c9725fec92af4bd4822d2bbb1d2e1fb5c9930
Status: Downloaded newer image for buanet/iobroker:latest
docker.io/buanet/iobroker:latest
real    5m 17.75s
user    0m 0.98s
sys     0m 0.77s

On my pi4 extracting to ssd.

root@ubuntu:~# time docker pull buanet/iobroker
Using default tag: latest
latest: Pulling from buanet/iobroker
6d4a449ac69c: Pull complete
13473329dcd0: Pull complete
7e7fc7bca51c: Pull complete
0316d8dcfc2b: Pull complete
bf0a9e7334ee: Pull complete
e2e230357ea2: Pull complete
4f4fb700ef54: Pull complete
Digest: sha256:20a077b18de6c935f6b3ccb1db4c9725fec92af4bd4822d2bbb1d2e1fb5c9930
Status: Downloaded newer image for buanet/iobroker:latest
docker.io/buanet/iobroker:latest

real    1m49.088s
user    0m0.353s
sys     0m0.545s

I have a fast internet connection(75 MBit/s). For me it took hours. As you can see in the first screenshot the extraction stops for a while. It seems that the whole system is hanging.
Which image and which filesystem are you using? I suspect that my memory card or anything else is causing problems.
My SSD is NTFS formated. Should I use a differently file system?
Maybe it is a solution to remove the memory card and use the ssd as the main drive.

i'm using a R4S image on EXT4. you ideally should be using ext4 for a linux system. NTFS is microsofts filing system and the inkernal NTFS driver is... not the best. Paragon software are trying to get their driver added to the kernel but that effort has stalled.

You can also use squashfs on a sdcard.

I am using squashfs on the sdcard because I had troubles to install docker, when using ext4.
When I am back at home I will provide the error message. Maybe you can help me to get docker running.
What do you recommend ext4 or squashfs? The Pi does not have a „reset“ button so I do not take an advantage out of squashfs. What do you think?

Found the reason. Just bought a new performant micro sd card (ScanDisk Extreme Pro) and the image was pulled in about 6 minutes to sd-card.
Thank you for your help.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.