Re:Docker 1.2.0, with restart policies
by cpuguy83 on Friday August 22, 2014 @04:41PM
(#8213839)
FWIW, now that docker is handling the restart/monitoring it can actually do it better than if systemd is doing it, since docker knows that it doesn't have to tear down and re-create the network namespace, unmount/remount the container's FS, etc.
So when a container is restarted via the restart policy, it not only happens faster, it will get the same IP as well.
So when a container is restarted via the restart policy, it not only happens faster, it will get the same IP as well.