open-nomad/drivers
Seth Hoenig 2868a45982
docker: configure restart policy for networking pause container (#15732)
This PR modifies the configuration of the networking pause contaier to include
the "unless-stopped" restart policy. The pause container should always be
restored into a running state until Nomad itself issues a stop command for the
container.

This is not a _perfect_ fix for #12216 but it should cover the 99% use case -
where a pause container gets accidently stopped / killed for some reason. There
is still a possibility where the pause container and main task container are
stopped and started in the order where the bad behavior persists, but this is
fundamentally unavoidable due to how docker itself abstracts and manages the
underlying network namespace referenced by the containers.

Closes #12216
2023-01-10 07:50:09 -06:00
..
docker docker: configure restart policy for networking pause container (#15732) 2023-01-10 07:50:09 -06:00
exec chore: remove use of "err" a log line context key for errors. (#14433) 2022-09-01 15:06:10 +02:00
java chore: remove use of "err" a log line context key for errors. (#14433) 2022-09-01 15:06:10 +02:00
mock Merge branch 'main' into tlefebvre/fix-wrong-drivernetworkmanager-interface 2022-03-17 09:38:13 +01:00
qemu chore: remove use of "err" a log line context key for errors. (#14433) 2022-09-01 15:06:10 +02:00
rawexec chore: remove use of "err" a log line context key for errors. (#14433) 2022-09-01 15:06:10 +02:00
shared exec: allow running commands from host volume (#14851) 2022-11-11 09:51:15 -05:00