Currently, test containers does not allow you to restart a running container without stopping it and removing it completely, followed by a start.
Allowing the functionality to restart a running container which issues a docker restart ensures the testability of a container in a multitude of other ways.
Such an example could relate to custom initialisation scripts which create data, and issuing a restart to the container ensures that this data isn't created twice.
Currently, test containers does not allow you to restart a running container without stopping it and removing it completely, followed by a start.
Allowing the functionality to restart a running container which issues a docker restart ensures the testability of a container in a multitude of other ways.
Such an example could relate to custom initialisation scripts which create data, and issuing a restart to the container ensures that this data isn't created twice.