mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 12:15:50 +03:00
[GH-ISSUE #924] [QUESTION] docker image doesn't start on Cloud Run #577
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#577
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @clydebarrow on GitHub (Jan 4, 2023).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/924
Cloud Run seems like an obvious environment to run the Whoogle docker image, but it's not working.
I pulled the docker image
benbusby/whoogle-search, tested it locally, then pushed it to Artifact Registry, then created a Cloud Run service using that image. I set the Cloud Run port to 5000 (also tried 8080) and set an environment variableEXPOSE_PORTto the same value. The error is:Yaml config and status below. Any ideas on what might be wrong?
@dominickp commented on GitHub (Jan 4, 2023):
I see the health check failure, but are there any logs from the container? I haven't used Cloud Run but when a health check fails, I usually look at the container output first.
@clydebarrow commented on GitHub (Jan 4, 2023):
I don't know of any way of getting the container output in Cloud Run. It is possible to shell into a Cloud Run container but it has to be running.
@clydebarrow commented on GitHub (Jan 4, 2023):
Just looked at the logs again and found this:
@clydebarrow commented on GitHub (Jan 4, 2023):
I think I found the problem - I pulled the image on a Mac M1 before pushing to Artifact Registry so got an aarch64 version.
@clydebarrow commented on GitHub (Jan 4, 2023):
Replaced the image with x86-64 and it works!
Yes, they are in the Cloud Run logs - stdout and stderr are logged. But due to the architecture mismatch there was nothing to see in that respect.