Docker Community Forums

Share and learn in the Docker community.

Can we run different configuration application instances using a single docker image?

Hi All,

Can i run different app configuration instances using single docker image? is this possible.
Please suggest me recommended and best way to setup this environment.

Thank you
Deepak

Of course. Environment variables come to mind, like used by many standard images (like to set a database user name). Also easily managed when using Compose.

Without a more specific use case, that’s all we can help you with.

1 Like

Thank you Arjan Van Bentem

used volume option for different configurations.