Docker - Start a Container Automatically

From NovaOrdis Knowledge Base
Revision as of 06:23, 5 December 2017 by Ovidiu (talk | contribs) (→‎Overview)
Jump to navigation Jump to search

Internal

Overview

The restart policy can be specified when the container is started with --restart=always flag.

This does not seem to work with docker 1.7.1, I get the old configuration, even if I stop before editing. The container configuration may also be edited directly: RestartPolicy.