Does anyone have experience with Docker? How do you reboot an image?

I'm trying to make a new image for a small server, based on a Debian image on a Windows server (yes, native linux containers on Windows!).

I pull the Debian image, start a container, run the install script for the small server in the container (*) and commit it as a new image. From this new image I can start a container, but the server does not run. FWIW, it also did not run prior to the commit (at (*)), so I suspect it has to do with starting the service in the container.

The install script should add it such that it is automatically started after a reboot, but I don't know how to reboot an image... Any ideas?