Dockerfile Error when pushing pi-hole code to Raspberry Pi 4

Hi, it’s my first time following this tutorial to deploy pi-hole with Balena on my raspberry pi 4.

I was originally using a Linux Pop OS device to set this up, but kept having difficulties downloading files and software, so I switched to a Windows 11 device to set this up.

I made it to the step “Pushing the project code to your Raspberry Pi”, which follows the step of setting up the Balena CLI on Windows using this documentation.

*I admittedly may have not setup the CLI correctly. I downloaded the newest version Docker desktop version 4.37.1 (178610) – the documentation says you should Downgrade Docker Desktop to version 18.06.1. - but I don’t know how to do that TBH. *

I downloaded and unzipped the balena pihole github project, and on Windows Powershell, I CD’d into the unzipped directory and executed balena push <appName>.

I receive the following error;

Error: no "Dockerfile[.*]", "docker-compose.yml" or "package.json" file
found in source folder "."

When I examine the balena-pihole-main files, there is;

  • docker file
  • a docker-compose.yml file
  • renovate.json file (NO package.json file)

What could be the issue?

Hello @blaquebeardcoder

Could you please share some screenshots to understand what is happening and try to reproduce this!

Thanks!

I am having about the same problem…same error message. I’m trying (for, 3 Days) to “push” wifi-repeater-master to my account with no success .I’m using Linux Mint (zara) on a laptop. I have successfully installed Balena CLI, and can login. I have made sure Docker.service is installed on the laptop, have been to many blogs, googled problem with no success. I’ve made sure that all the software is the correct version, etc.All three files mentioned in the screen shot are in the wifi-repeater-master folder. Any help would be appreciated. Thanks

Ron