I have three containers I am trying to set up for my Tomcat Server/Spring Boot project. Two of them are currently up and running using mysql 8.0.33 and mysql 5.7
I'm currently trying to compose the third container with mysql 8 using the following yml file
db:
image: mysql:8
platform: linux/x86_64/v8
environment:
- MYSQL_ROOT_PASSWORD=*****
volumes:
- mysql_es:/var/lib/mysql
ports:
- "3308:3306"
volumes:
mysql_es:
However, when I try to compose it I get the following error
[+] Running 1/1
✔ db Pulled 6.7s
[+] Running 0/0
⠋ Container blitz-db-1 Creating 0.0s
Error response from daemon: No such image: mysql:8
Yet when I go into my Docker Desktop I can see that the mysql 8 image was generated. I've tried deleting it, and the other mysql images and re running the compose but it's still not able to get the container up and running. Any ideas why?
My machine: Mac M4 chip
I have three containers I am trying to set up for my Tomcat Server/Spring Boot project. Two of them are currently up and running using mysql 8.0.33 and mysql 5.7
I'm currently trying to compose the third container with mysql 8 using the following yml file
db:
image: mysql:8
platform: linux/x86_64/v8
environment:
- MYSQL_ROOT_PASSWORD=*****
volumes:
- mysql_es:/var/lib/mysql
ports:
- "3308:3306"
volumes:
mysql_es:
However, when I try to compose it I get the following error
[+] Running 1/1
✔ db Pulled 6.7s
[+] Running 0/0
⠋ Container blitz-db-1 Creating 0.0s
Error response from daemon: No such image: mysql:8
Yet when I go into my Docker Desktop I can see that the mysql 8 image was generated. I've tried deleting it, and the other mysql images and re running the compose but it's still not able to get the container up and running. Any ideas why?
My machine: Mac M4 chip
Share Improve this question edited Mar 3 at 17:08 Shadow 34.3k10 gold badges65 silver badges75 bronze badges asked Mar 3 at 17:03 UltraStars19UltraStars19 112 bronze badges 1 |1 Answer
Reset to default 0There is no platform build for that version you requested, amd64 and arm64/v8 only available for mysql:8 image.
docker system prune -a
– Justinas Commented Mar 3 at 17:13