May 28, 20206 yr goal: I want my mariadb container to start before kodi-server container tries to start. I know there is depends_on for docker but how do I use it with unraid's docker setup? I tried to add it via extra parameters like: --depends_on="mariadb" But that breaks the container, as its an invalid flag.
May 28, 20206 yr 28 minutes ago, zoggy said: goal: I want my mariadb container to start before kodi-server container tries to start. Easy solution is to set maria to start up before kodi (drag and drop on the docker page to set order. You can also set delays via advanced view)
May 28, 20206 yr Community Expert 2 hours ago, zoggy said: I tried to add it via extra parameters like: --depends_on="mariadb" But that breaks the container, as its an invalid flag. depends_on is a "docker compose" flag and not a "docker" flag in itself, where unraid doesn't use docker compose natively Edited May 28, 20206 yr by tjb_altf4
May 28, 20206 yr Author 7 hours ago, Squid said: Easy solution is to set maria to start up before kodi (drag and drop on the docker page to set order. You can also set delays via advanced view) This falls flat if you use the --restart="on-failure" because the start logic isnt taken into consideration. Or if CA backup 'restores' the stuff stopped it doesnt do it in the configured order.
December 2, 20205 yr On 5/28/2020 at 8:47 PM, zoggy said: This falls flat if you use the --restart="on-failure" because the start logic isnt taken into consideration. Or if CA backup 'restores' the stuff stopped it doesnt do it in the configured order. Hi, did you find a usable solution? I am concerned form my guacamole integration...
December 2, 20205 yr Author I use --restart="on-failure" for my kodi docker. If I stop the docker manually via the unraid gui it stops cleanly. If CA backup tries to stop the docker it shuts down but then restarts as it views it as a failure... why this is the case I'm not sure. It seems like a bug with CA backup. So basically I stopped using CA backup automatically and just go stop the dockers manually then fire off a manual CA backup. Not a great solution I know.
Archived
This topic is now archived and is closed to further replies.