Skip to Main Content
Status New
Created by Sebastian Kroll
Created on Apr 24, 2021

restart-policies for docker/sdk container

it would be great to get a possibility to control the container's restart-policy via deploy-files

  • Attach files
  • Sebastian Kroll
    Reply
    |
    Apr 26, 2021

    Hello Dmytro,

    we use the docker/sdk for office-internal stage environments which run on local hardware. But these hardware/servers are for example restarted occasionally or are reconfigured automatically so it would be great to set a restart-policy for the containers to restart them after the server (and docker) came up after a restart.


    This could maybe configured as a deploy-file-wide parameter which automatically reflects to al relevant containers (yves, zed, gateway, db, ...)

  • Dmytro Mykhailov
    Reply
    |
    Apr 26, 2021

    Hi Sebastian,

    Could you please describe why would you like to have a restart policy for containers? What do you want to achieve with that? Do you have a case/problem you are trying to solve with this solution?
    I want to understand better your case.


    Thank you. Dmytro

  • Jeremy Fourna
    Reply
    |
    Apr 26, 2021

    Hi Sebastian,

    Thank you for your idea 👍

    - Jeremy Fourna