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 on vSphere


Kubernetes can be installed on vSphere with the help of govc (a vSphere CLI built on top of govmomi):

  1. Before starting the setup, we'll have to install golang, which can be done in the following way on a Linux machine:

            $ wget https://storage.googleapis.com/golang/go1.7.3.linux-  
              amd64.tar.gz
        
            $ tar -C /usr/local -xzf go1.7.3.linux-amd64.tar.gz
            
            $ go
        
            Go is a tool for managing Go source code.
            Usage:
              go command [arguments]
    
    
  2. Set the go path:

    $ export GOPATH=/usr/local/go
    $ export PATH=$PATH:$GOPATH/bin
    
  3. Download the pre-built Debian VMDK, which will be used to create the Kubernetes cluster on vSphere:

            $ curl --remote-name-all https://storage.googleapis.com/
            govmomi/vmdk/2016-01-08/kube.vmdk.gz{,.md5}
              % Total    % Received % Xferd  Average Speed   Time    Time     Time  
            Current
    
                 ...