MobileBackups folders interfering with Jenkins use of Docker slave

I’m trying to use the CloudBees Docker Custom Build Environment Plugin. Whether I tell it pull the evarga/jenkins-slave image from repository, or build from Dockerfile on my machine I receive the same error:

docker: Error response from daemon: Mounts denied: aces for more info.
is not shared from OS X and is not known to Docker.
You can configure shared paths from Docker -> Preferences... -> File Sharing.
FATAL: Failed to run docker image

A grep of my system for ly6hv_513tl6qqslrb2vj_dw0000gn shows several directories /.MobileBackups/Computer/2016-12-01-081650/Volume/private/var/folders/ns/ly6hv_513tl6qqslrb2vj_dw0000gn. I know these files are associated with my Time Machine backup.

  • Docker WordPress Nginx Folder Structure?
  • How to use sqlite3 file from different docker containers?
  • Unable to load application or execute command 'Microsoft.AspNet.Server.Kestrel'. Available commands: web
  • provide s3fs mount to docker as volume
  • Where is jenkins.xml in jenkins docker container
  • Docker or Docker for AWS and Deployment on AWS EC2
    • I added ./MobileBackups to File Sharing under Docker > Preferences > File Sharing. I’m still receiving the same error.

    • I tried adding /var to Docker > Preferences > File Sharing to receive a message The path /var is reserved by Docker.

    Any ideas?

    edit: Forgot to mention I’m on OSX Sierra, Jenkins 2.35, CloudBees Docker Custom Build Environment Plugin 1.6.5

  • Docker image tag is not working
  • Dockerfile: RUN command with special parameters
  • Is there a way to tell gradle which profiles should be used for the tests?
  • How to copy files to each user's space in docker
  • Deploying own Docker Registry: Registry restarting
  • Docker: Dockerizing apache virtual hosts
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.