Run the container with a restart flag from within [no (default), on-failure, unless-stopped, always].
For the on-failure
policy, a maximum of 10 restart attempts will be made.
(see https://docs.docker.com/engine/admin/start-containers-automatically/)