Getting Started with Docker Enterprise Edition on IBM Z

Getting Started with Docker Enterprise Edition on IBM Z

Front cover Getting Started with Docker Enterprise Edition on IBM Z Lydia Parziale Eduardo Simoes Franco Robert Green Eric Everson Mendes Marins Mariana Roveri Nilton Carlos Dos Santos Redbooks International Technical Support Organization Getting Started with Docker Enterprise Edition on IBM Z March 2019 SG24-8429-00 Note: Before using this information and the product it supports, read the information in “Notices” on page vii. First Edition (March 2019) This edition applies to Docker Enterprise Edition 2.0 engine 17.06 or higher and z/VM 6.4 and 7.1 © Copyright International Business Machines Corporation 2019. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . vii Trademarks . viii Preface . ix Authors. ix Now you can become a published author, too! . xi Comments welcome. xi Stay connected to IBM Redbooks . xi Chapter 1. Introduction. 1 1.1 Why Docker on IBM Z . 2 1.1.1 IBM Z . 2 1.1.2 Linux ONE. 4 1.1.3 Open Source and LinuxONE . 4 1.2 Understanding the concepts of Docker EE on IBM Z . 6 1.3 Docker overview . 10 1.4 Security . 13 1.4.1 Pervasive encryption. 14 1.4.2 Linux encryption . 16 1.4.3 Secure Service Containers . 17 Chapter 2. Planning for Docker Enterprise Edition . 19 2.1 Sample of Scenarios for containers on Linux on z . 20 2.1.1 Scenario 1: All elements are running in the same subsystem . 20 2.1.2 Scenario 2: Same LPAR with different hosts running Docker. 20 2.1.3 Scenario 3: Dockers hosts are running on different LPARs and servers . 21 2.2 Hardware and software prerequisites on IBM Z . 23 2.2.1 Requirements for installing Docker on IBM Z . 23 2.3 Lab resources and configuration. 25 2.4 z/VM and SSI considerations . 25 2.4.1 High availability and Docker . 26 2.5 Docker editions . 27 2.6 Container orchestration. 27 2.6.1 Kubernetes . 28 2.6.2 Swarm. 31 Chapter 3. Installing and deploying Docker . 35 3.1 Installing Docker . 36 3.1.1 SuSE Linux . 36 3.1.2 Red Hat Linux . 41 3.1.3 Ubuntu Linux. 46 3.2 Docker storage . 48 3.3 Docker verification. 61 3.4 Using hardware crypto for application containers . 64 3.5 Moving Docker hosts by using z/VM SSI feature . 78 3.6 Setting up swarm mode . 79 3.7 Setting up Kubernetes. 82 3.8 Kubernetes versus Docker Swarm . 98 3.8.1 Kubernetes . 99 © Copyright IBM Corp. 2019. All rights reserved. iii 3.8.2 Docker Swarm . 99 Chapter 4. Basic Docker operations . 101 4.1 Linux on Z commands. 102 4.1.1 Overview . 102 4.2 Basic Docker commands . 105 4.2.1 Docker info . 105 4.2.2 Docker ps . 106 4.2.3 Docker rmi. 107 4.2.4 Docker rm . 107 4.2.5 Docker stop. 108 4.2.6 Docker pull . 108 4.2.7 Docker tag. 109 4.2.8 Docker build . 109 4.2.9 Docker run . 110 4.2.10 Docker container port . 110 4.2.11 Docker exec . 110 4.2.12 Docker attach . 111 4.2.13 Docker stop. 111 4.2.14 Docker kill . 112 4.2.15 Docker logs . 112 4.2.16 Docker diff. 113 4.2.17 Docker image . ..

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    200 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us