Multi-container apps: add workaround for non amd64 machines

This commit is contained in:
António Alvarenga 2021-05-07 11:26:18 +01:00 committed by GitHub
parent 13386236e4
commit 5d5e551104
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,6 +67,11 @@ For now, we will create the network first and attach the MySQL container at star
where MySQL stores its data. However, we never ran a `docker volume create` command. Docker recognizes we want
to use a named volume and creates one automatically for us.
!!! info "Troubleshooting"
If you see a `docker: no matching manifest` error, it's because you're trying to run the container in a different
architecture than amd64, which is the only supported architecture for the mysql image at the moment. To solve this
add the flag --platform linux/amd64 in the previous command
1. To confirm we have the database up and running, connect to the database and verify it connects.
```bash