Running an Application in Docker or Binary

What would be the best way to deploy a binary file as an application that boots on start and auto restarts on failure with artifacts? It can be in docker or uploading the binary directly as an artifact but I am trying to understand the workflow with mender.

You should look into the docker Update Module. With it you can run Docker containers and update them using Mender Artifacts. If you need to customize anything about the container launching you can use state scripts on top of that.