Book description
Abstract
What is the difference between a virtual machine and a Docker
container?
A virtual machine (VM) is like a house. It is fully contained with
its own plumbing and heating and cooling system. If you want
another house, you build a new foundation, with new walls, new
plumbing, and its own heating and cooling system. VMs are large.
They start their own operating systems.
Containers are like apartments in an apartment building. They share infrastructure. They can be many different sizes. You can have different sizes depending on the needs. Containers “live” in a Docker host.
If you build a house, you need many resources. If you build an apartment building, each unit shares resources. Like an apartment, Docker is smaller and satisfies specific needs, is more agile, and more easily changed.
This IBM® Redbooks® publication examines the installation and operation of Docker Enterprise Edition on the IBM Z® platform.
Table of contents
- Front cover
- Notices
- Preface
- Chapter 1. Introduction
- Chapter 2. Planning for Docker Enterprise Edition
- Chapter 3. Installing and deploying Docker
-
Chapter 4. Basic Docker operations
- 4.1 Linux on Z commands
-
4.2 Basic Docker commands
- 4.2.1 Docker info
- 4.2.2 Docker ps
- 4.2.3 Docker rmi
- 4.2.4 Docker rm
- 4.2.5 Docker stop
- 4.2.6 Docker pull
- 4.2.7 Docker tag
- 4.2.8 Docker build
- 4.2.9 Docker run
- 4.2.10 Docker container port
- 4.2.11 Docker exec
- 4.2.12 Docker attach
- 4.2.13 Docker stop
- 4.2.14 Docker kill
- 4.2.15 Docker logs
- 4.2.16 Docker diff
- 4.2.17 Docker image
- 4.2.18 Docker network
- 4.2.19 Docker commit
- 4.2.20 Docker inspect
- 4.3 Swarm commands
- 4.4 Kubernetes commands
- 4.5 Backing up a container
-
Chapter 5. Sample use cases
- 5.1 Database management systems
- 5.2 IBM Watson Explorer Analytical Components
-
5.3 Docker in swarm mode
- 5.3.1 Removing node from swarm
- 5.3.2 Opening firewall ports on manager and worker nodes
- 5.3.3 Updating /etc/hosts file
- 5.3.4 Initializing swarm mode
- 5.3.5 Adding node manager to the cluster
- 5.3.6 Adding worker nodes to the manager node
- 5.3.7 Creating a Docker service
- 5.3.8 Scaling a container up
- 5.3.9 Changing node availability to simulate a schedule maintenance
- 5.3.10 Promoting a worker node
- 5.3.11 Demoting a manager node
- 5.3.12 Running manager-only nodes
- 5.3.13 Scaling down a service
- 5.3.14 Considerations regarding the number of manager nodes
- 5.4 Kubernetes
- 5.5 Web services
- 5.6 Tying it all together
- Back cover
Product information
- Title: Getting Started with Docker Enterprise Edition on IBM Z
- Author(s):
- Release date: March 2019
- Publisher(s): IBM Redbooks
- ISBN: 9780738457505
You might also like
book
Deployment with Docker
A practical guide to rapidly and efficiently mastering Docker containers, along with tips and tricks learned …
book
IBM MobileFirst Strategy Software Approach
IBM® MobileFirst enables an enterprise to support a mobile strategy. With this end-to-end solution, IBM makes …
book
The DevOps 2.1 Toolkit: Docker Swarm
Viktor Farcic's latest book, The DevOps 2.1 Toolkit: Docker Swarm, shows you how to successfully integrate …
book
Extending Docker
Master the art of making Docker more extensible, composable, and modular by leveraging plugins and other …