version: '3.6'
services:
mysql:
image: mysql
platform: linux/amd64 # ADD THIS LINE
restart: always
ports:
services:
db:
platform: linux/x86_64
image: mysql:5.7
...
version: '3.6'
services:
mysql:
image: mysql
platform: linux/amd64 # ADD This line to your docker-compose
restart: always
ports:
version: '3.6'
services:
mysql:
image: mysql
platform: linux/amd64 # ADD This line to your docker-compose
restart: always
ports:
sudo docker pull --platform linux/amd64 mysql
//Add platform like this:
services:
db:
platform: linux/x86_64
image: mysql:5.7
# ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries
services:
ca_orderer:
image: hyperledger/fabric-ca:latest
platform: linux/x86_64 # Specify the plateform and error solve