Install software inside docker – windows

Hi,

So I have this software that supports silent installation and ran on background. Would it be possible for me to:

1) manually go inside the docker (exec -ti) 2) install the software, start the service 3) stop the container 4) commit the container 5) push it to the cloud registry 6) pull and re-run it when I need it and have the service turn on automatically?

Thank you for your help!

Edit: the software itself supports background installation and able to run on CLI alone.

submitted by /u/nwbluejack
[link] [comments]
Source: Reddit