Quick Recap
Let’s review what we covered in this chapter.
We'll cover the following
Highlights
Ahh, that’s better; we can hang up our apron. Our preparation—or mise en place—is complete. The following are the highlights:
-
We configured our app to run in production, with the necessary environment variables set.
-
We created an enhanced production image that precompiled our assets.
-
We discussed the need for making our images available on different machines, and learned how Docker Registries facilitate this.
-
We saw the naming convention we need to refer to a specific version of an image unambiguously:
[<registry hostname>[:port]/]<username>/<image name>[:<tag>]
-
You created a Docker Hub account (if you didn’t already have one).
-
We built our production image and pushed it to a public Docker Registry (Docker Hub), making it available for download on our production machines.
With our production config in place and image pushed to Docker Hub, we are ready to start deploying our app to production-like environments.
Get hands-on with 1400+ tech skills courses.