When the docker container has, for example, 100 processes running and we restart the container using docker restart container-name how can docker restart all these 100 processes?
Will it store all the processes details and start them again?
Edit:
The following can be considered as specific question that I want to be answered:
After starting a container, I login to the container using docker exec -it container-name bash and I start some background processes. Then I exit the container and do a docker restart or a stop followed by a start. Will I get those manually started processes running again automatically?