Pedro Machado
10/09/2020, 3:28 PMprefect agent start docker
(passing several env variables) with the recipe created by prefect agent install local
but I get a permission denied error and the agent never starts. I am able to start the agent without supervisord
and it works fine. Any ideas? Logs in thread.nicholas
supervisord
process isn't permissioned to interface with the docker daemon. Have you tried nohup
instead to put the agent in the background? Not sure this'll work but it's worth a shot.Pedro Machado
10/09/2020, 3:46 PMtmux
session and it's still running but I'd like to find a way to set it up so that it will be restarted automatically if it dies for some reason.
Any ideas on what would need to happen to give supervisord
permission to use docker? I got sudo
access so may be able to fix it.nicholas
supervisord
is dong under the hood that would cause you to lose permissions; if you're able to elevate the supervisord
call that may fix it