2) Then if you have docker-compose .yml file add restart: always or if you have docker container add restart=always like this: docker run --restart=always and run docker container. Make sure . If you manually stop a container, its restart policy is ignored until the Docker daemon restarts or the container is manually restarted. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.