Deploy an App on Docker Containers

Hi @Inderpreet,
Pleas help with the below task. The task was to create a docker compose file to run php and mysql db.
Could it be because i didnt create /var/lib/mysql locallly before running the container?

MY DOCKER COMPOSE FILE and /var/lib/mysql,

CONTAINER RUN TIME STATUS and curl TEST of php on port 8089

What is the error message?

this is it please.

you haven’t set correct volume path of database.
like :–
/var/lib/mysql:/var/lib/mysql

yes you are right.
Thanks