Skip to content

Conversation

thiagoluna
Copy link

When running docker-compose up -d on a MacBook Pro M2 gave an error and messages appeared as below:

[+] Running 0/1
 ⠧ db Pulling   
no matching manifest for linux/arm64/v8 in the manifest list entries

I updated the MySql and Redis versions and docker-compose up -d run the containers correctly.

This pull request includes several updates to the docker-compose.yml file to improve container management and update service images. The most important changes include adding container names to each service and updating the MySQL and Redis images.

Container management improvements:

  • Added container_name to the app service in docker-compose.yml.
  • Added container_name to the nginx service in docker-compose.yml.
  • Added container_name to the mysql service in docker-compose.yml.
  • Added container_name to the phpmyadmin service in docker-compose.yml.
  • Added container_name to the redis service in docker-compose.yml.

Service image updates:

  • Updated the MySQL image from mysql:5.7.22 to mysql/mysql-server:8.0 in docker-compose.yml.
  • Updated the Redis image from redis:latest to redis:alpine in docker-compose.yml.

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

Successfully merging this pull request may close these issues.

1 participant