Hi @ajaymedic,
It looks like you’re encountering some issues with your OpenEMR Docker installation on your Apple M1 Mac. Let’s troubleshoot the problems you’ve mentioned:
- "no configuration file provided: not found":
- This error suggests that Docker Compose is unable to find the
docker-compose.yml
configuration file. Ensure that you are in the correct directory where thedocker-compose.yml
file is located before running thedocker-compose up -d
command. You might need to navigate to the directory where thedocker-compose.yml
file is located using thecd
command.
- "permission denied: unknown":
- This error typically occurs when Docker cannot execute the necessary scripts or commands within the container. To resolve this, try the following:
- Make sure you have the necessary permissions to run Docker. Ensure you are running the
docker-compose up -d
command with appropriate permissions (e.g., usesudo
if required). - Ensure that you have not made any unintended changes to the OpenEMR Docker image or container. If you modified any files inside the container, it might lead to permission issues.
- Verify that Docker Desktop on your Mac M1 has the necessary permissions to access files and resources.
- Make sure you have the necessary permissions to run Docker. Ensure you are running the
You can also try running the docker run command directly to bypass docker-compose temporally to verify everything is working correctly.
For the OpenEMR service:
docker run -d \
-p 8080:80 \
--env MYSQL_HOST=db \
--env MYSQL_ROOT_PASS=root_password \
--env MYSQL_USER=openemr \
--env MYSQL_PASS=openemr_password \
--name openemr-container \
--network="bridge" \
openemr/openemr
For the MySQL service:
docker run -d \
--env MYSQL_ROOT_PASSWORD=root_password \
--env MYSQL_USER=openemr \
--env MYSQL_PASSWORD=openemr_password \
--env MYSQL_DATABASE=openemr \
--name db-container \
--network="bridge" \
mysql:8.1
If you’ve followed all the steps correctly and are still encountering issues, please provide additional details about your system configuration and any other error messages you receive. This information will help in diagnosing the problem more accurately.