Modernizing Enterprise Java by Markus Eisele & Natale Vinto

Modernizing Enterprise Java by Markus Eisele & Natale Vinto

Author:Markus Eisele & Natale Vinto [Markus Eisele]
Language: eng
Format: epub
Publisher: O'Reilly Media, Inc.
Published: 2021-10-27T00:00:00+00:00


Tip

Docker Network documentation contains more info on how to map ports and networks within containers and hosts running Docker.

Registry

As we described in the previous section, container images are stored in a local cache. However, if you want to make them available outside your workstation, we need to send them over in some convenient way. A container image’s size is generally around hundreds of megabytes. That’s why you need a Container image registry.

The registry essentially acts as a place to store container images and share them via a process of uploading to (pushing) and downloading from (pulling). Once the image is on another system, the original application contained within it can be run on that system as well.

Registries can be public or private. Popular public registries include DockerHub, or Quay.io. They are offered as a SaaS on the internet and allow images to be available publicly with or without authentication. Private registries are usually dedicated to specific users, and are not accessible for public usage. However, you may make them available to private environments, such as private Kubernetes clusters.

In this example, we created an Organization at DockerHub for the book, called modernizingjavaappsbook that maps into a repository of this public registry where we want to push our container image.

First, you need to login to the registry. You need to authenticate against it in order to be able to push new content, then you will leave the container image publicly available.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.