Closed barbeau closed 2 years ago
I think this is related to Docker still using JDK 8: https://stackoverflow.com/questions/66662820/m1-docker-preview-and-keycloak-images-platform-linux-amd64-does-not-match-th
We should try updating it to JDK 11 and see if that works.
If this isn't resolved by #149, it However, it might be a broader issue with Docker on M1s: https://github.com/docker/for-linux/issues/1170
Thanks @barbeau for opening this issue.
Version info: Docker Desktop: 4.5.0 (74594) Engine: 20.10.12 Credential Helper: 0.6.4 Snyk: v1.827.0 Compose: v2.2.3 Kubernetes: v1.22.5 macOS: 12.3.1 MacBook Pro (14-inch, 2021) Chip: Apple M1 Pro
Thanks for the info @timhibbard. So https://github.com/docker/for-linux/issues/1170#issuecomment-784209559 said:
Closing this ticket as this will be fixed in docker 20.10.4 (to be released soon)
..but if you're running "Engine: 20.10.12" then it's probably not that exact issue.
@timhibbard We just merged PR #149, which should hopefully fix this (it seemed to work for a member of the MobilityData team).
After the new docker image is built, could you please give it a shot again?
Please hold on testing, looks like the Docker image push to the GitHub Container Registry is currently broken. I've opened an issue at https://github.com/MobilityData/gtfs-realtime-validator/issues/150 to track this.
@timhibbard Ok, Docker builds should now be fixed (via PR https://github.com/MobilityData/gtfs-realtime-validator/pull/151) if you want to try this.
@barbeau I can confirm this is now working. I used the stock directions on the readme (using terminal) and it worked as expected when loading up localhost:8080.
I used USF data and successfully found items to improve on. Thanks so much Sean! cc: @ScottReiser
@timhibbard Glad it works, and it's yielding helpful results! If you have any ideas about how to improve things (new rules, etc.), please feel free to open issues here to discuss!
Summary:
User reported this to me:
Steps to reproduce:
Follow https://github.com/MobilityData/gtfs-realtime-validator#docker on Mac M1
Expected behavior:
Run the validator
Observed behavior:
Above error
Platform:
Docker with M1 Mac