Skip to Content
Mastering Spring Cloud
book

Mastering Spring Cloud

by Piotr Mińkowski
April 2018
Intermediate to advanced content levelIntermediate to advanced
432 pages
10h 38m
English
Packt Publishing
Content preview from Mastering Spring Cloud

Docker Container Registry

Following the newest trends, Heroku allows you to deploy a containerized application using Docker. In order to be able to do that, you should have Docker and the Heroku CLI installed on your local machine:

  1. First, log in to Heroku Cloud by running the command heroku login. The next step is to log in to the Container Registry:
$ heroku container:login
  1. Next, make sure that your current directory contains Dockerfile. If present, you can proceed to building and pushing the image to Heroku's Container Registry by executing the following command:
$ heroku container:push web
  1. If you have an existing built image, you may only be interested in tagging and pushing it to Heroku. In order to do that, you need to use Docker's ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microservices with Spring Boot and Spring Cloud - Second Edition

Microservices with Spring Boot and Spring Cloud - Second Edition

Magnus Larsson

Publisher Resources

ISBN: 9781788475433Supplemental Content