Code Monkey home page Code Monkey logo

mastering-docker-fourth-edition's Introduction

Mastering Docker – Fourth Edition

Mastering Docker – Fourth Edition

This is the code repository for Mastering Docker – Fourth Edition, published by Packt.

Enhance your containerization and DevOps skills to deliver production-ready applications

What is this book about?

Docker has been a game changer when it comes to how modern applications are deployed and created. It has now grown into a key driver of innovation beyond system administration, with a significant impact on the world of web development. Mastering Docker shows you how you can ensure that you're keeping up with the innovations it's driving and be sure you're using it to its full potential. This fourth edition not only demonstrates how to use Docker more effectively but also helps you rethink and reimagine what you can achieve with it.

This book covers the following exciting features:

  • Get to grips with essential Docker components and concepts
  • Discover the best ways to build, store, and distribute container images
  • Understand how Docker can fit into your development workflow
  • Secure your containers and files with Docker's security features
  • Explore first-party and third-party cluster tools and plugins

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

if (test expression)
{
  Statement upon condition is true
}

Following is what you need for this book: If you are a software architect, DevOps engineer, sysadmin, or IT professional looking to leverage Docker's extensive features for innovating any process from system administration to web development, Mastering Docker will show you how you can use it to its full potential. A basic understanding of containerization and prior Docker experience is necessary.

With the following software and hardware list you can run all code files present in the book (Chapter 1-16).

Software and Hardware List

Chapter Software required OS required
1-16 Docker at least 8 GB RAM and 30 GB HDD free with an Intel i3 processor or above Windows 10 Professional, macOS High Sierra or above, and Ubuntu 18.04 or above
1-15 Any one of public cloud provider DigitalOcean/Amazon Web Services/Azure/Google Cloud Windows 10 Professional, macOS High Sierra or above, and Ubuntu 18.04 or above

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Code in Action

Click on the following link to see the Code in Action:

YouTube

Related products

Get to Know the Author

Russ McKendrick is an experienced dev-ops practitioner & system administrator with a passion for automation and containers. He has been working in IT and related industries for the better part of 27 years. During his career, he has had varied responsibilities in many different sectors, from first-line, second-line, and senior support in both client-facing and internal teams for small and large organizations. He works almost exclusively with Linux, using open source systems and tools across both dedicated hardware and virtual machines hosted in public and private clouds at N4Stack which is a Node4 company, where he holds the title of Practice Manager (SRE & DevOps). He also buys way too many records.

Suggestions and Feedback

Click here if you have any feedback or suggestions.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781839216572

mastering-docker-fourth-edition's People

Contributors

packt-itservice avatar packtutkarshr avatar rahuldsouzapackt avatar russmckendrick avatar sarvesh-packt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mastering-docker-fourth-edition's Issues

Configuring Automated Builds in Understanding Docker Hub chapter: Indicated Build Context path needs to be updated so the build succeed

Reference: page 81 paragraph 2, line 10 in the configuration of the automated builds steps (step 3).

The indicated path in this edition for the build context is: "./chapter02/dockerfile-example/".
This will cause the build to fail with the message:
Dockerfile not found at ./chapter02/dockerfile-example/./chapter02/dockerfile-example/

To succeed I did the following:

  1. I set the Dockerfile location to: /chapter02/dockerfile-example/Dockerfile
  2. left the build context empty.

docker hub config
Successful build

Chapter 2 multi-stage example doesn't work

The multi-stage example in Chapter 2 cannot be executed successfully on my Ubuntu 18.0.4 virtual machine.

image

I found that I need to explicitly specify the file name to successfully execute.

 ADD https://raw.githubusercontent.com/geetarista/go-http-hello-world/master/hello_world/hello_world.go ./hello_world.go
-RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app .
+RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app hello_world.go

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.