Hi @joaom.tx ,
After checking docker journal:
journalctl -u docker.service -b --no-pager
I found these 2 lines:
Binding to IP address without --tlsverify is deprecated.
Startup is intentionally being slowed down to show this message.
Which adds about 15 seconds delay to the start up time.
So, after research I found changing this line at docker.service.d:
ExecStart=/usr/bin/dockerd -H fd:// -H tcp://0.0.0.0:2375
To this line:
ExecStart=/usr/bin/dockerd -H fd:// -H tcp://127.0.0.1:2375
solved the issue, and it shortened the boot time by 15 seconds.
Now the analyze results are like this:
systemd-analyze time
Startup finished in 3.857s (kernel) + 9.093s (userspace) = 12.950s
multi-user.target reached after 9.038s in userspace
and:
systemd-analyze blame | head
4.017s docker.service
2.266s dev-disk-by\x2dlabel-otaroot.device
1.450s usermount.service
1.254s systemd-udev-trigger.service
717ms ModemManager.service
640ms containerd.service
572ms udisks2.service
560ms user@1000.service
542ms systemd-logind.service
423ms dbus.service
Now the results are more satisfactory.The board and the containers booted up faster.
But, I found that this change causes problems in linking the Torizon extension for VS Code and the board in the TASK RUNNER section and in the Docker/Container tab, also I don’t know if there are other side problems.
How do I solve this, please, and get rid of the 15-second delay at the same time?
Best regards,
Tarek