I am using CMD to start a process when the container is run. I know how to pass arguments to the container when I run. Is there a way to configure the dockerfile so different scripts are run based on the argument or based on the container name?
CMD exec 'script1’
CMD exec 'script2’