Join Arthur Ulfeldt for an in-depth discussion in this video Multi-project Docker files, part of Learning Docker.
- [Instructor] When we build Docker files…that go beyond the very simplest projects,…it often runs into two competing desires.…On the one hand, we want the Docker file…to be totally complete, have everything required…to build this project from scratch,…so years from now, we will be absolutely certain…that we can rebuild it, and that it will have everything.…and on the other hand, we want them to be super small,…minimal, and really quick to deploy.…So people often do things like make two Docker files,…one for their daily life, and one for production.…
These get out of sync and stress ensues.…So recently, a new feature was added to Docker files…called multi-stage builds.…To explain how this works, let's start by making…a small Docker file.…From Ubantu:16.04,…and a run apt-get update to get the latest package lists.…Then RUN apt-get -y for yes, install curl…for downloading things during the installation process.…
Now we're going to run an example project…that just calls curl https://google.com…and pipe the output to word count, wc.…
- Installing Docker on Mac, Windows, and Linux
- Understanding the Docker flow
- Running processes in containers
- Managing, networking, and linking containers
- Working with Docker images, volumes, and registries
- Building Dockerfiles
- Managing networking and namespaces with Docker
- Building entire systems with Docker
Skill Level Beginner
Docker Essential Training: 2 Orchestrationwith David Davis1h 4m Intermediate
DevOps Foundations: Containerswith David Linthicum1h 16m Appropriate for all
What is Docker?2m 51s
1. Installing Docker
2. Using Docker
3. Building Docker Images
4. Under the Hood
5. Orchestration: Building Systems with Docker
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.