You started a container with docker run and forgot the restart policy. Recreating it just for that feels silly.
You do not have to. docker update changes the policy on a running container, and it applies immediately.
docker update --restart=unless-stopped mycontainer
The other policies work too, such as on-failure:3, which retries three times and then gives up. To check the result, use docker inspect --format '{{.HostConfig.RestartPolicy.Name}}' mycontainer.
Several containers fit in one command, which helps after an Unraid or server reboot when you realise half of your containers stayed down. One loop over docker ps -aq would fix that, but check the list first. Opinions differ on restart policies, and mine is that unless-stopped is the sane default for a home server.
The caveat: it cannot be changed on a container started with --rm, because auto-removal and a restart policy exclude each other. And the change lives only on that container. If you recreate it from the old command or compose file, you get the old policy back, so fix the source as well.
Further reading: docker container update, On this site: docker cp works on stopped containers too, On this site: docker diff shows what a container changed in its filesystem, On this site: 🐳Comprehensive Guide: Updating Docker Containers via the Unraid Terminal