Generally most containers are by default set not to start automatically.
Ther eare 3 settings for the "RestartPolicy" of containers:
no: Do not automatically restart the container (default).
always: Always restart the container regardless of the exit status.
unless-stopped: Always restart the container unless it is explicitly stopped.
on-failure: Restart the container........