# Container-diff on Balena

**URL:** <https://forums.balena.io/t/container-diff-on-balena/365358>\
**Category:** Product support\
**Tags:** docker, nano\
**Created:** [November 6, 2022, 8:37pm UTC](https://forums.balena.io/t/container-diff-on-balena/365358 "2022-11-06T20:37:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![petersdavis](https://avatars.discourse-cdn.com/v4/letter/p/8c91f0/32.png) [@petersdavis](https://forums.balena.io/u/petersdavis)\
**Post date:** [November 6, 2022, 8:37pm UTC](https://forums.balena.io/t/container-diff-on-balena/365358/1 "2022-11-06T20:37:37Z")

</div>

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:

> **[GitHub - GoogleContainerTools/container-diff: container-diff: Diff your...](https://github.com/GoogleContainerTools/container-diff)**
>
> container-diff: Diff your Docker containers. Contribute to GoogleContainerTools/container-diff development by creating an account on GitHub.

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]]

---

<div class="post-metadata">

**Author:** ![petersdavis](https://avatars.discourse-cdn.com/v4/letter/p/8c91f0/32.png) [@petersdavis](https://forums.balena.io/u/petersdavis)\
**Post date:** [November 6, 2022, 8:48pm UTC](https://forums.balena.io/t/container-diff-on-balena/365358/2 "2022-11-06T20:48:20Z")

</div>

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.
