How to make Custom Image
Learn what is required for your custom image.
We'll cover the following...
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 to have an image called railsapp
or myapp_web
?
How would we know which image to refer to?
This is a solved problem. By referring to ...