Update index.md

Add ## Apache2 container won't start on mac m1
This commit is contained in:
Игорь Данилов 2022-10-04 20:05:01 +03:00 committed by GitHub
parent 98c5d7ba64
commit ed48e4ee1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,3 +127,21 @@ WORKSPACE_INSTALL_LIBPNG=true
docker-compose build workspace docker-compose build workspace
``` ```
## Apache2 container won't start on mac m1
To fix the problem you can follow those steps
1 - Open the `.env`.
2 - Search for `APACHE_FOR_MAC_M1` or add the key, if missing.
3 - Set the value to true:
```dotenv
APACHE_FOR_MAC_M1=true
```
4 - Finally rebuild the workspace image
```bash
docker-compose build apache2
```