Summary: Containerizing an Application
Recap the major topics covered in this chapter.
This chapter taught us how to containerize an application. This is the process of building an app into a container image and running it as a container.
- We pulled some application source code from GitHub and used the
docker init
command to auto-generate a Dockerfile with instructions telling Docker how to build the app into a container image. We then useddocker build
to create the image,docker push
to push it to Docker Hub, anddocker run
to run it as a container.
Get hands-on with 1300+ tech skills courses.