theoretically, you can use manual mode of the container and manage startup/termination manually - for this you can use ContainerController
then you can make your necessary configuration/modification and start the container afterwards.
for manual deployment use Deployer
thanks for the information.
I just scanned the ContainerController API and it looks like the kind of thing i was looking for.