Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
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 up-
surya D
Python Web Development Techdegree Student 158 Points1 Answer
-
Juliette Tworsey
Front End Web Development Techdegree Graduate 32,625 PointsDocker course files?
3 Answers
View all discussions for this video
Related 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