Difference between Docker Vs Docker-Compose

Difference between Docker Vs Docker-Compose -

Docker provides the platform for running containers, while Docker Compose provides a way to define and run multi-container applications in an organized and reproducible way.

Passing run-time variable in Dockerfile

Pass any runtime variable while creating Docker image from Dockerfile. When having parameters as an env file or configuration files that need to be selected while running docker image, then you may not require to create different Dockerfile for all different environments. This Article can help you pass those variable on go and you can use one Dockerfile for all environments