Content
MacOS Docker Error
Added by Michael Back 2 months ago
Hello, I have tried to install this following the docker compose directions from here. I am running Docker on MacOS and at one point during the docker compose it is trying to make the directories for the mounted volumes for persistent storage. The location I am trying to use is a mounted Volume that I use for other docker containers and have no problems. I have a gitea and mariadb running and stored on the same drive. /Volumes/Pegasus32\ R8/Docker/{mariadb, gitea, openproejct}
I get to and run OPENPROJECT_HTTPS=false docker-compose up -d
(I set the path in my .env file)
I then see this:
Mac-Pro:openproject mike$ docker compose -f ./compose/docker-compose.yml up --force-recreate -d
[+] Running 6/8
⠸ Container compose-db-1 Starting 10.5s
✔ Container compose-autoheal-1 Started 10.5s
✔ Container compose-cache-1 Started 10.5s
⠸ Container compose-seeder-1 Starting 10.5s
✔ Container compose-cron-1 Recreated 0.1s
✔ Container compose-web-1 Recreated 0.1s
✔ Container compose-worker-1 Recreated 0.1s
✔ Container compose-proxy-1 Recreated 0.0s
Error response from daemon: error while creating mount source path '/host_mnt/Volumes/Pegasus32\ R8/Docker/openproject/assets': mkdir /host_mnt/Volumes/Pegasus32\ R8: permission denied
Any idea on why it can not create the folders? I manually created them and I did try to delete them but it does not seem to do a check if the folder exist and tries to make them every time.
Is it a problem with it being on Mac? I tried checking user permissions and everything online says that, that is not a problem on Mac because it runs as root. I then tried to change the folder permissions to chmod 777 ./openproject
chmod 777 ./openproject/assets
chmod 777 ./openproject/data