Search⌘ K
AI Features

How to make Custom Image

Understand how to create custom Docker images for your Rails production environment by properly naming, tagging, and pushing them to Docker Hub. Explore the importance of unambiguous image references, using fully qualified image names, and sharing images safely. This lesson prepares you to manage image distribution and prepares you for continuous integration pipelines.

Referring to images unambiguously

Previously, when we named our image, we simply called it railsapp. Similarly, Compose automatically named our web service image myapp_web.

Although these names worked fine when working on a single Docker Machine, they are not suitable for sharing our image on a Docker Registry. Why? Because what if different people, teams, or organizations all want ...