Skip to content
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

Using One-click apps breaks when the images don't support the architecture #849

Open
andrew-ma opened this issue Oct 5, 2020 · 1 comment

Comments

@andrew-ma
Copy link

IMPORTANT: This is a bug report. If you are having problem with deploying a particular app use the deployment issue type.

If you are having problems with deploying a particular app using a customized dockerfile - please change your questions to Dockerfile and post it where appropriate such as StackOverflow. This is a Docker question, not a CapRover specific issue.


What is the problem?
Using One-click apps breaks when the images don't support the architecture

If applicable, content of captain-definition file:

Steps to reproduce the problem:
one click wordpress with database (the official mariadb and mysql don't support ARM, I have to create a new app that is not one click and use linuxserver/mariadb), or one click jupyter

Answers to the following questions where applicable:

  • Your OS and version? raspberry pi 3b+ arm 32-bit
  • RAM?

Potential Solutions:

  1. Maybe do a check for the current architecture, and only display the one click apps that support the current architecture (idk if there is a way to get supporting architecture info for dockerhub images so this might not be the easiest way)
  2. Another way would be setting up an advanced options for one-click apps to use a custom image, so I could type in linuxserver/mariadb for the wordpress w/ database app, instead of just the tag for the official mariadb). This way I can get all the environment variables and configuration from the one-click app, but able to substitute my own image
@UnclePhil
Copy link

This is a common problem with container on multiple arch
Add some tag in the one-click-app definition files, with all supported architecture, and a manual filter on this tag in the one-click choosing screen.
You can also add an automatic detection of the actual architecture somewhere in the main app for the info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants