summaryrefslogtreecommitdiffstats
path: root/docker/debian/docker-start (follow)
Commit message (Collapse)AuthorAgeFilesLines
* docker: Use tini unilaterally and stop tailing /dev/nullWesley Coakley2021-06-161-11/+3
| | | | | | | | | | | | | tini is a hyper-minimal PID 0 which spawns a child process (watchfrr.sh in our case), reaps zombies and forwards signals to the script. Starting watchfrr.sh directly instead of through the old `tail /dev/null` or `sleep 365d` helps keep things clean too :) While tini was previously only used in the Alpine container it is useful to apply this PID 0 to all containers except the special CI ones. Fixes: #8788 Signed-off-by: Wesley Coakley <w@wesleycoakley.com>
* docker: prefer CMD to ENTRYPOINTWesley Coakley2021-04-161-1/+3
| | | | | | | | | | | | | | | | | | Specifying watchfrr as CMD instead of ENTRYPOINT allows one to easily override this command when starting a docker container. This allows simple, manual testing via (e.g.) bash. With ENTRYPOINT only the container will simply explode with an exit code if watchfrr exits. For instance one could start a shell session in this container via: ``` docker run --name test --rm -i -t <frr-container> bash ``` The default behavior (`docker run <frr-container>` with no command specified) is not changed. Signed-off-by: Wesley Coakley <wcoakley@nvidia.com>
* docker: quick and dirty debian 9 imgRob Gil2019-02-151-0/+10
Signed-off-by: Rob Gil <rob@rem5.com>