Skip to content
This repository was archived by the owner on Jul 11, 2022. It is now read-only.
This repository was archived by the owner on Jul 11, 2022. It is now read-only.

2.0.0-beta.1 mysql issue with M1 Macs #234

@dlindberg

Description

@dlindberg

Description

There is a know issue with Docker Apple M1 Tech Preview that unfortunately mysql images don't work. This will cause Nitro setup to fail Error: unable to create the container, Error response from daemon: No such image: mysql:8.0.

The release notes suggest using mariadb instead which I'm not seeing a straightforward to set that up after init. If possible, adding the option to select a mariadb image instead at setup should resolve the issue and create the option for dev testing where mariadb is currently used in production (a possible default option when setting up production servers using Laravel Forge) even for folks not running preview versions of docker.

The alternate solution is to force an Intel version to be used in emulation, --platform linux/amd64 but the mariadb solution seems like it should be more performant.

Steps to reproduce

  1. Run nitro init on an M1 machine
  2. Select any mysql version

Additional info

  • Nitro version: 2.0.0-beta.1
  • Docker version: Apple M1 Tech Preview 7

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions