Docker Community Forums

Share and learn in the Docker community.

Docker beta on mac: Refusing to execute/trust quarantined program/file

beta
docker

(Yeri Tiete) #1

Expected behavior

No error messages

Actual behavior

Spam in messages.log (every 10 sec):

Jun 14 00:11:46 nazgul xpcproxy[1562]: CFPreferences could not connect to its daemon.
Preferences using the connection 0x0 will be volatile and will not be persisted to disk.
Jun 14 00:11:46 nazgul com.apple.xpc.launchd[1] (com.docker.helper[1562]): Could not find and/or execute program specified by service: 155: Refusing to execute/trust quarantined program/file: com.docker.helper
Jun 14 00:11:46 nazgul com.apple.xpc.launchd[1] (com.docker.helper): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

Information

Diagnostic ID: 07AF4266-0117-4CCE-B283-57AA41E1BD03
Latest stable OS X

Worth mentioning: it keeps spamming even when docker daemon is shut down.

Steps to reproduce the behavior

???


(Bryce Ryan) #2

Hi,

Some other forum users had a similar problem, and resolved it by removing some files. Please have a look at this thread on the forum: Launch service cannot find com.docker.helper

You might also try uninstalling any prior version of Docker for Mac and installing the latest public beta to see if the behavior changes.

Best wishes,

Bryce


(Yeri Tiete) #3

I’ve manually removed boot2docker (which was probably the issue) – however it comes back after clean install of Docker for OSX Beta.

This solves the issue: launchctl remove com.docker.helper – but only until you restart Docker


Launch service cannot find com.docker.helper
Launch service cannot find com.docker.helper
(Firebeyond) #4

I’ve found the issue is tied to Download Quarantining - which would also explain why removing and re-installing fixed things. Doing the following will remove the Quarantine flag:

xattr -d -r -s com.apple.quarantine /Applications/Docker.app

and restarting should help you out.


(Yeri Tiete) #5

Thanks, is that persistent over updates of Docker ?


(Neam) #6

Reported as issue here: https://gith ub.com/docker/for-mac/issues/713
(Had to break the link since the forum won’t allow posting links to github)