Would it be possible to, say, add a flag that would push the images to a private registry upon a successful start?
This would be helpful for CI environments, where your container runs unit/acceptance tests first before starting the main application. By pushing to the registry, you're able to create an artifact of the successful image.
See below response for additional details.