Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Spring 5.0 Microservices

You're reading from   Spring 5.0 Microservices Scalable systems with Reactive Streams and Spring Boot

Arrow left icon
Product type Paperback
Published in Jul 2017
Publisher
ISBN-13 9781787127685
Length 414 pages
Edition 2nd Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Rajesh R V Rajesh R V
Author Profile Icon Rajesh R V
Rajesh R V
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Demystifying Microservices FREE CHAPTER 2. Related Architecture Styles and Use Cases 3. Building Microservices with Spring Boot 4. Applying Microservices Concepts 5. Microservices Capability Model 6. Microservices Evolution – A Case Study 7. Scale Microservices with Spring Cloud Components 8. Logging and Monitoring Microservices 9. Containerizing Microservices with Docker 10. Scaling Dockerized Microservices with Mesos and Marathon 11. Microservice Development Life Cycle

Using the Docker registry


The Docker Hub provides a central location to store all Docker images. The images can be stored as public as well as private. In many cases, organizations deploy their own private registries on-premise due to security related concerns.

Follow these steps to set up and run a local registry:

  1. The following command will start a registry that will bind the registry on port 5000:
docker run -d -p 5000:5000 --restart=always --name registry
        registry:latest
  1. Tag search:1.0 to the registry:
docker tag search:1.0 localhost:5000/search:1.0
  1. Push the image to the registry:
docker push localhost:5000/search:1.0
  1. Pull the image back from the registry:
docker pull localhost:5000/search:1.0

Setting up the Docker Hub

In the previous chapter, we played with a local Docker registry. This section will show us how to set up and use the Docker Hub to publish the Docker containers. This is a convenient mechanism to globally access the Docker images. Later in this chapter, the Docker images will...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image