DEV Community

Discussion on: Cut your Docker for Mac response times in half with docker-sync

Collapse
 
oguilleux profile image
Olivier Guilleux

Hi Kevin,

Thanks so much for this post, it really helped me and solved my issue on performance.

I'm having a problem and I was wondering if you could help me out. I'm using WordPress and ACF, saving my ACF fields in the native acf-json directory. Unfortunately it doesn't sync when I'm using docker-sync.

Does docker-sync need a special permission to write ? I tried your solution regarding permissions but it didn't change anything.

Thanks

Collapse
 
kovah profile image
Kevin Woblick

Hi Olivier! It's most likely an issue with docker-sync. Filesystem permissions are horrible to get right with it. Unfortunately, the one correct setup heavily depends on your specific setup.

Collapse
 
philipbradbury1 profile image
Philip Bradbury

Hi did you ever solve this? I’ve got the same issue now with docker and acf-json.

Thanks

Collapse
 
oguilleux profile image
Olivier Guilleux • Edited

Hi Philip,

It seemed that it was indeed a problem with Docker permissions. So all I had to do is fill in the sync_userid and sync_groupid in my docker-sync.yml like in the screenshot here : dev-to-uploads.s3.amazonaws.com/up.... APP_USER_ID and APP_GROUP_ID are constants used in my docker-compose.yml. Don't forget to restart docker as well. But as Kevin pointed out it may vary for your configuration.

Good luck