Add option to define `--restart` flag, feature introduced in docker version 1.2.0 - docker/docker#7414