-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Issue Report: pgautoupgrade/pgautoupgrade:latest Not Supported on Windows/amd64 10.0.20348 #49
Comments
That's weird. Any idea why it's trying to use a Linux based image as a windows based thing? Oh, maybe you need a
Try adding that to the same level as the other lines here: So that bit looks like this:
In theory that should make it work. Though I don't (yet) know why that image would need it and the others don't. 🤔 |
I think the issue is that the images built on dockerhub do not support windows/amd64. See the workflow here
where they built for linux/amd64 and linux/arm64. There are two options:
Note If Redash relies on this image for deploy, then that might mean that Redash does not support Windows (or Mac) machines out of the box? |
That's confusing for me, as Redash runs on macOS (in my dev environment) when I use I mean, we could potentially add new "windows" builds to the platforms list but does that mean we'd need to change a bunch of bash scripting to be powershell or similar? Actually, do the official Docker PostgreSQL images work properly as is in this scenario? Our images are mostly just a modification of those to add some extra scripting. 😄 |
i would agree on that, its not woth the effort to add test and maintain overall. maybe a quick solution is to run a hyper-v or WSL instance on that windows VM. |
As a data point, looking at the official GitHub repo for the Docker PostgreSQL images, they only have shell scripts in there. Doesn't look like any windows stuff. So yeah, I guess running the standard |
not sure what the current consensus is here, but I am with @justinclift that Building a Windows container would be possible, but we would essentially have to re-engineer the entire container.
I have couple of friends who work with Windows Server regulary and Docker containers are not really a topic for them. Windows Docker Container are sparse (I only know of caddy who provides one). Running Linux Containers on Windows requires WSLv2 activated, so you have essentially a Linux in your Windows server, so you are better to just run it on a Linux server directly. |
I'm in agreement that building a windows container is not desirable 👍 pgautoupgrade is already built for The issue can probably be closed as not planned |
Summary:
The
pgautoupgrade/pgautoupgrade:latest
container image fails to run on a Windows platform with the version 10.0.20348 on an amd64 architecture. The issue seems to be due to platform compatibility or lack of support for Windows-based environments in the current container image.Environment:
Operating System: Windows Server 2022 (build 10.0.20348)
Architecture: AMD64 (x64-based processor)
Container Image: pgautoupgrade/pgautoupgrade:latest
Platform: Docker (or relevant container runtime)
Logs
https://github.com/lecaoquochung/docker-images/actions/runs/11089181949/job/30810009459#step:6:29

The text was updated successfully, but these errors were encountered: