Skip to content

MySQL and SSL Proxy on Mac (M1) #2

@hardtmedia

Description

@hardtmedia

Hello,

I am currently working on getting dockerized ingrid to work on a Mac (m1).
The MySQL container config requires the platform to be specified.
Otherwise, docker will try to fetch MySQL for arm64, which does not exist.

However, MySQL runs fine through rosetta2, so it will work if the linux/x86_64 platform is used.

 mysql:
    image: mysql:5.7
    platform: linux/x86_64             <--- add this
    command: docker-entrypoint.sh mysqld --character-set-server=utf8 --lower-case-table-names=1 --collation-server=utf8_unicode_ci
...

With this change MySQL is running. Another option would be to switch to MariaDB, since they provide an arm64 native image.
https://hub.docker.com/r/arm64v8/mariadb/

I am still working on the SSL proxy and may add more information, if and when I find it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions