Skip to Content
Mastering Azure Serverless Computing
book

Mastering Azure Serverless Computing

by Lorenzo Barbieri, Massimo Bonanni
November 2019
Intermediate to advanced
362 pages
7h 52m
English
Packt Publishing
Content preview from Mastering Azure Serverless Computing

Publishing the custom Docker image to Docker Hub

Now we have the container running locally. We have created an image in the repository called mycustomimage with the tag v1.0.0, as you can see if you run the following:

docker images

The following screenshot shows the output of the preceding command:

To publish the image to Docker Hub, we can create another repository with our Docker ID or we can simply tag the current image with the new name, as shown in the following code:

If you don't have a Docker ID, go to https://docs.docker.com/docker-id/ to get one.
docker build --tag Docker-ID/mycustomimage:v1.0.0 .

We can also use the following:

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

Advanced Serverless Architectures with Microsoft Azure

Advanced Serverless Architectures with Microsoft Azure

Daniel Bass
Azure Serverless Computing Cookbook - Third Edition

Azure Serverless Computing Cookbook - Third Edition

Praveen Kumar Sreeram, Kasam Shaikh, Greg Leonardo

Publisher Resources

ISBN: 9781789951226Supplemental Content