Container-diff on Balena

Hi Guys,

I’m trying to container storage space issue that seems to happen only in BalenaOS context. To analyze the modified containers I’ve downloaded and compiled container-diff:

But when I try to run it I get errors I believe because how how Balena has symlinked away docker:

root@:/tmp/container-diff/container-diff-0.17.0# ./container-diff analyze cd2c280e5a13
2022/11/06 20:36:58 Unable to read “/home/root/.docker/config.json”: open /home/root/.docker/config.json: no such file or directory
ERRO[0000] error retrieving image cd2c280e5a13: UNAUTHORIZED: authentication required; [map[Action:pull Class: Name:library/cd2c280e5a13 Type:repository]]

Found that I could just push images to docker-hub. And then pull them to local from there–which is a good enough workarround for what I need to do at the moment.