backend.local: Add restart policy support to run
@@ -154,6 +154,7 @@ func (ms *local) Run(ctx context.Context, r containers.ContainerConfig) error {
hostConfig := &container.HostConfig{
PortBindings: hostBindings,
AutoRemove: r.AutoRemove,
+ RestartPolicy: toRestartPolicy(r.RestartPolicyCondition),
Resources: container.Resources{
NanoCPUs: int64(r.CPULimit * 1e9),
Memory: int64(r.MemLimit),
