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. . olders/ns/ly6hv_513tl6qqslrb2vj_dw0000gn/T/ is not shared from OS X and is not known to Docker. You can configure shared paths from Docker -> Preferences... -> File Sharing. See https://docs.docker.com/docker-for-mac/osxfs/#namesp. 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.
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.
edit: Forgot to mention I’m on OSX Sierra, Jenkins 2.35, CloudBees Docker Custom Build Environment Plugin 1.6.5