Comments (4)
Below images have been tested to work without having to specify platform
configuration:
arm64v8/mysql
mysql/mysql-server
(maintained by the Oracle team)
The following is an example of the configuration needed in the Docker Compose YAML using one of the above images:
mysql:
image: "arm64v8/mysql"
container_name: "mysql"
from minitrino.
I wonder if we can add a bash check/script to detect if host machine is running on M1 Apple hardware, i.e.
if [[ $(sysctl -n machdep.cpu.brand_string) =~ "M1" ]]; then
Above seems to be the best approach (sysctl -n machdep.cpu.brand_string
returns Apple M1 Pro
, Apple M2
, etc.)
Note: uname -m
should hypothetically return arm
for M1 chips, however, if terminal or process running the script is deployed by an RMM that is running via Rosetta, may return x86_64
which can be problematic.
from minitrino.
The latest release added this function to the provisioning logic. In the event that the user is running on an M1 platform, an enviroment variable MODULE_PLATFORM
is set to linux/amd64
, which is then passed to the module's underlying docker-compose.yml
file:
services:
example:
image: "foo/bar:latest"
container_name: "example"
platform: "${MODULE_PLATFORM}"
This can at least get an emulated image pulled to your machine, but is not guaranteed to work.
from minitrino.
Related Issues (20)
- Automate config tests HOT 1
- Build module testing framework HOT 1
- Swap internal and external ports in docker-compose.yml files
- Minitrino does not work with SEP 363-e+
- Unable to access MinIO UI due to port redirection when using Docker HOT 1
- SQLServer error: "The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption." HOT 1
- DB2 module error HOT 5
- Add ` internal-communication.shared-secret` to all authN modules HOT 1
- cannot run ./install.sh with a python version higher than 9 HOT 2
- Upgrade MySQL version environment variable from 5 --> 8+ HOT 1
- Update SQLServer module connection-url HOT 1
- Event listener factory 'event-logger' is not registered HOT 4
- Miscellaneous Functionality Cleanup HOT 1
- Improve license propagation HOT 2
- Automate release cycle via GitHub Actions HOT 2
- Test compatibility with Colima HOT 1
- OAuth2 Module HOT 1
- Update HMS images HOT 1
- Update 'docker-compose' to 'docker compose' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minitrino.