sudo systemctl restart docker
$ docker run --restart=always redis
$ docker restart <container_name>
docker update --restart=always <container>
$ sudo systemctl restart docker.socket docker.service
$ docker rm {container_id}
# first step is checking the docker logs like this
docker logs --tail 50 --follow --timestamps <machine_name>
docker update --restart unless-stopped redis