-
-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Page not found" error when using with balena #375
Comments
I don't know anything about Balena, its compatibility with Docker and what concepts it comes with. Judging from what's going on in the code, there could be two things happening:
To further debug this, could you provide the output of
|
Thanks for digging into this.
|
Thanks for providing the output, seems the first scenario applies and this check
While this would be easy to fix by just changing the condition to check for an empty string or even flip the conditions to check against valid swarm states, I am a bit worried about this could become a rabbit hole of sorts, chasing down tiny incompatibilities like this one between Docker and Balena. If I understand the Docker OpenAPI spec correctly, |
All I could find is:
|
@m90 Yes, afaik there is no comprehensive documentation about compatibility between balena engine and docker engine. In this thread, it is noted that balena engine is a moby-compatible container engine. Your PR looks promising though - brilliant! 🎉 |
In case your setup allows you to do so, you can try checking out the code from this branch #376 and build an image off that. I do think "it should work ™️" I'm still struggling to get a non-nausea-inducing test setup working (running Balena-in-Docker in Docker-in-Docker and such 💫). Also having to build the Balena-in-Docker image on each CI run currently adds a whopping extra of 22 minutes for building the image, which is kind of a show stopper. I.e. this might take a little while still, but maybe you can get it working with that self-built image already. |
Just tried to build and run it, got a |
@m90 I can confirm everything is working with the |
This is now fixed in v2.38.2 |
Describe the bug
I am trying to use the container in a balena cloud environment.
This is the excerpt from the docker compose file:
When running the backup, I get the following error message:
time=2024-02-24T10:49:55.700Z level=ERROR msg="Fatal error running command: page not found" error="main.(*command).runAsCommand: error running script: main.runScript.func4: error running script: main.(*script).stopContainersAndServices: error querying for services: Error response from daemon: page not found"
DOCKER_HOST
is set:To Reproduce
Steps to reproduce the behavior:
Expected behavior
Backup running without any issues.
Version (please complete the following information):
Additional context
Balena-engine:
The text was updated successfully, but these errors were encountered: