$ docker run --restart=always redis
docker update --restart=always <container>
# first step is checking the docker logs like this docker logs --tail 50 --follow --timestamps <machine_name>
docker update --restart unless-stopped redis