balena-io-modules / balena-preload

Script for preloading containers onto balena device images
https://www.balena.io/
Apache License 2.0
35 stars 8 forks source link

The size estimation is wrong for multi-container apps if the images share some layers #231

Closed zvin closed 3 years ago

zvin commented 3 years ago

Connects-to: https://github.com/balena-io/balena-cli/issues/2043

zvin commented 3 years ago

We should get the layers sizes from the registry instead of image sizes from the api. Like before https://github.com/balena-io-modules/balena-preload/blob/v5.2.2/lib/preload.js#L381-L411

jellyfish-bot commented 3 years ago

[zvin] This issue has attached support thread https://jel.ly.fish/847be677-7404-4c60-8fa6-b6344b4f4ae8