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 RUN instruction will execute a command of your choosing while building the image. The command will be run exactly as if you had typed it in a shell on the guest OS. You can use these commands to permanently update the contents of the image. RUN is useful for installing dependencies or running a script in the container at build time.
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