-
Notifications
You must be signed in to change notification settings - Fork 6
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
Provide Docker Image for multiple Architectures #1270
Comments
Hi @raynigon , I assume you have missed the ARM builds section here. It leads to the multiarch build project: https://github.com/nagyesta/lowkey-vault-docker-buildx Does this resolve your issue? |
Thank you, I missed the section. While an image exists for ARM with the At least on my end, this was a bit confusing, because everything worked on the amd64 machine, but failed on arm. |
Hi @raynigon ,
With that said, it is kind of a headache for me as well to maintain two repositories instead of one, so I would be happier if there was only one image and one pipeline to maintain, but considering the aforementioned reasons, I am not ready to make this tradeoff yet, It would need some further work to find out how I can mitigate all of these issues. As a bandaid, I can offer to improve the documentation and make it easier to notice that there are two kinds of images and highlight which one is needed when. Would that make sense? |
Hi @nagyesta , This information is really helpful! I understand the issues, especially the problems related to mutliplatform support on windows. For a Quickfix in the testcontainer, I propose the following logic: |
Hi @raynigon , |
- Update readme files to mention multi-arch images more prominently - Implement new check in the LowkeyVaultContainer to recommend multi-arch images when it could be beneficial - Add new tests Updates #1270 {minor} Signed-off-by: Esta Nagy <[email protected]>
- Update readme files to mention multi-arch images more prominently - Implement new check in the LowkeyVaultContainer to recommend multi-arch images when it could be beneficial - Add new tests Updates #1270 {minor} Signed-off-by: Esta Nagy <[email protected]>
- Update readme files to mention multi-arch images more prominently - Implement new check in the LowkeyVaultContainer to recommend multi-arch images when it could be beneficial - Add new tests Updates #1270 {minor} Signed-off-by: Esta Nagy <[email protected]>
- Update readme file to mention multi-arch tag name - Update Lowkey Vault version to latest Updates nagyesta/lowkey-vault#1270 Signed-off-by: Esta Nagy <[email protected]>
Hi @raynigon ,
The logs should look like this:
I decided against throwing an exception because I wanted to keep the end user in control, if someone wants to use the amd64 image with emulation, then they can easily do it and it will only generate some log lines. What do you think? Is this an acceptable compromise for you or did I miss some vital aspect? Thank you in advance for your feedback! |
- Update readme file to mention multi-arch tag name - Update Lowkey Vault version to latest Updates nagyesta/lowkey-vault#1270 Signed-off-by: Esta Nagy <[email protected]>
I looked through your code and I think this solution should solve this issue in all relevant aspects! Thank you very much! |
Thank you! |
Is your feature request related to a problem? Please describe.
'm always frustrated when I need to run the docker image on a M-Chip MacOS Machine.
Describe the solution you'd like
The Docker Image should be provided for multiple architectures
Describe alternatives you've considered
Emulations is working, but can be extremly slow.
The text was updated successfully, but these errors were encountered: