Docker - Start a Container Automatically: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Client Operations =Overview= <pre> docker run ... --restart=always ... </pre>")
 
Line 5: Line 5:
=Overview=
=Overview=


<pre>
"RestartPolicy" can be specified when the container is started with <tt>--restart=always</tt> flag.
docker run ... --restart=always ...
 
</pre>
The container configuration can also be edited as such:

Revision as of 17:34, 19 April 2017

Internal

Overview

"RestartPolicy" can be specified when the container is started with --restart=always flag.

The container configuration can also be edited as such: