Question: In which case should you use an ENTRYPOINT and CMD combination in a Dockerfile? when you want your container to start without any command when
In which case should you use an ENTRYPOINT and CMD combination in a Dockerfile?
when you want your container to start without any command
when you want to open Bash by default
when you want to set the main command for starting the container ENTRYPOINT and the default argument CMD
when you want to disable the overriding of the container default command
only when you need to package the application for Docker Hub
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
