Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
The ENTRYPOINT instruction sets an executable to be run each time a container starts. If you're always going to want the container to run the same executable, whether that be Python, MongoDB, Redis, or whatever, you should set it here. The CMD instruction is a list of arguments that get passed to the ENTRYPOINT executable. (Or, if no ENTRYPOINT has been set, the first argument is treated as the executable to be run.)
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up