Docker compose user permissions on mounted volumes using Mac as host

Hi all
Anyone able to help with an issue which I’ve stumbled across.
I’m running docker on a mac and using the compose file provided by ThirdGen88 GitHub - thirdgen88/ignition-examples: Ignition Examples with Docker Compose

Error when spinning up is:
ign-gw-1 | jvm 1 | 2025/08/26 01:50:51 | E [c.i.i.g.r.ResourceCollectionFileTree] [01:50:51.602]: Unable to create resource dir: /usr/local/bin/ignition/data/projects/.resources

ign-gw-1 | jvm 1 | 2025/08/26 01:50:51 | E [c.i.i.g.r.ResourceCollectionFileTree] [01:50:51.602]: Unable to create resource dir: /usr/local/bin/ignition/data/projects/.resources

ign-gw-1 | jvm 1 | 2025/08/26 01:50:51 | E [IgnitionGateway ] [01:50:51.603]: Error during context startup.

ign-gw-1 | jvm 1 | 2025/08/26 01:50:51 | java.lang.IllegalStateException: unable to create resource dir: /usr/local/bin/ignition/data/projects/.resources

I’ve tried adding UID:GUID 2003:2003 and user “0:0”, but still to no avail.
I feel it may be something to do with mounting the directory, as docker on a mac doesnt mount on the host /var/lib/docker/volumes/. as it does on linux, which is normal behavior - mac uses a vm for the mounts..

Any suggestions?

What Ignition version are you trying to start up, specifically?

soz, forgot to mention it:
8.3.0 Beta4

I’ve managed to spin it up, but needed to add user: “0:0” (root) in my compose file. Problem is mac doesn’t external mount volumes on the host file system, but runs docker containers in a virtual machine, and it appears as if root creates necessary directories on the build, but the ignition user lacks permission to create files with in the directory.

The reason why it failed before-hand when I added root was because the fail happened before getting to adding root, and failed asociating UID + GID - I subsequently removed the UID + GID additions to my compose file, and only added root - but surely there must be a better way?