Book Image

Troubleshooting Docker

By : Vaibhav Kohli, Rajdeep Dua, John Wooten
Book Image

Troubleshooting Docker

By: Vaibhav Kohli, Rajdeep Dua, John Wooten

Overview of this book

You?re pro Docker? You?ve read all about orchestration with Docker in books? Now learn how to troubleshoot Docker in practice. Gain all the tools to safely see Docker in action with this 2017 book.
Table of Contents (17 chapters)
Troubleshooting Docker
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
Free Chapter
1
Understanding Container Scenarios and an Overview of Docker

Deploying Kubernetes using Minikube


Minikube is still in development; it is a tool that makes it easy to run Kubernetes locally, optimized for the underlying OS (MAC/Linux). It runs a single-node Kubernetes cluster inside a VM. Minikube helps developers to learn Kubernetes and do day-to-day development and testing with ease.

The following setup will cover Minikube setup on Mac OS X, as very few guides are present to deploy Kubernetes on Mac:

  1. Download the Minikube binary:

            $ curl -Lo minikube 
    https://storage.googleapis.com/minikube/releases/v0.12.2/minikube-darwin-amd64
            % Total % Received % Xferd Average Speed Time Time Time Current
     Dload Upload Total Spent Left Speed
            100 79.7M 100 79.7M 0 0 1857k 0 0:00:43 0:00:43 --:--:-- 1863k
    
  2. Grant execute permission to the binary:

    $ chmod +x minikube 
    
    
  3. Move the Minikube binary to /usr/local/bin so that it gets added to the path and can be executed directly on the terminal:

            $ sudo mv minikube /usr/local/bin
    
  4. After this...