xxxxxxxxxx
# you have to set the restart policy, by default it is 'no'
# you can set an already existing docker to always restart with
docker update --restart=always 0576df221c0b
# or when you run a docker you can directly add the flag
docker run --restart=always