A key concept of using containers is the ability to create one image based on another and you should use this technique to build up a collection of images from which you can choose the most appropriate image for the job at hand. The following are examples of this approach:
Images such as this typically have a suffix of _login in their repository name. For example, if you create an image called microfocus/cobolserver:rhel7_10.0_x64 the image that lets you log in would be called microfocus/cobolserver:rhel7_10.0_x64_login.